31 typedef std::shared_ptr<sig_source<T>>
sptr;
55 virtual float phase()
const = 0;
signal generator with T output.
Definition: sig_source.h:28
virtual float phase() const =0
virtual void set_frequency(double frequency)=0
virtual double amplitude() const =0
virtual void set_amplitude(double ampl)=0
virtual void set_sampling_freq(double sampling_freq)=0
virtual void set_waveform(gr::analog::gr_waveform_t waveform)=0
static sptr make(double sampling_freq, gr::analog::gr_waveform_t waveform, double wave_freq, double ampl, T offset=0, float phase=0)
std::shared_ptr< sig_source< T > > sptr
Definition: sig_source.h:31
virtual T offset() const =0
virtual void set_phase(float phase)=0
virtual double sampling_freq() const =0
virtual gr::analog::gr_waveform_t waveform() const =0
virtual void set_offset(T offset)=0
virtual double frequency() const =0
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
sig_source< gr_complex > sig_source_c
Definition: sig_source.h:98
sig_source< std::int8_t > sig_source_b
Definition: sig_source.h:94
sig_source< std::int16_t > sig_source_s
Definition: sig_source.h:95
sig_source< float > sig_source_f
Definition: sig_source.h:97
sig_source< std::int32_t > sig_source_i
Definition: sig_source.h:96
GNU Radio logging wrapper.
Definition: basic_block.h:29