25 #ifndef INCLUDED_ANALOG_SIG_SOURCE_I_H 26 #define INCLUDED_ANALOG_SIG_SOURCE_I_H 43 typedef boost::shared_ptr<sig_source_i>
sptr;
54 static sptr make(
double sampling_freq,
57 double ampl,
int offset = 0);
59 virtual double sampling_freq()
const = 0;
61 virtual double frequency()
const = 0;
62 virtual double amplitude()
const = 0;
63 virtual int offset()
const = 0;
65 virtual void set_sampling_freq(
double sampling_freq) = 0;
67 virtual void set_frequency(
double frequency) = 0;
68 virtual void set_amplitude(
double ampl) = 0;
69 virtual void set_offset(
int offset) = 0;
boost::shared_ptr< sig_source_i > sptr
Definition: sig_source_i.h:43
Include this header to use the message passing features.
Definition: logger.h:695
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
signal generator with int output.
Definition: sig_source_i.h:39
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30