Go to the documentation of this file.
25 #ifndef INCLUDED_GR_SIG_SOURCE_F_H
26 #define INCLUDED_GR_SIG_SOURCE_F_H
44 double frequency,
double ampl,
float offset);
46 double d_sampling_freq;
55 double wave_freq,
double ampl,
float offset);
58 virtual int work (
int noutput_items,
67 float offset ()
const {
return d_offset; }
70 void set_sampling_freq (
double sampling_freq);
72 void set_frequency (
double frequency);
73 void set_amplitude (
double ampl);
74 void set_offset (
float offset);
79 double wave_freq,
double ampl,
float offset = 0);