25 #ifndef INCLUDED_ANALOG_SIG_SOURCE_S_H
26 #define INCLUDED_ANALOG_SIG_SOURCE_S_H
54 static sptr make(
double sampling_freq,
57 double ampl,
short offset = 0);
59 virtual double sampling_freq()
const = 0;
61 virtual double frequency()
const = 0;
62 virtual double amplitude()
const = 0;
63 virtual short 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(
short offset) = 0;
boost::shared_ptr< sig_source_s > sptr
Definition: sig_source_s.h:43
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
signal generator with short output.
Definition: sig_source_s.h:39