43 typedef boost::shared_ptr<sig_source<T>>
sptr;
55 static sptr make(
double sampling_freq,
62 virtual double sampling_freq()
const = 0;
64 virtual double frequency()
const = 0;
65 virtual double amplitude()
const = 0;
66 virtual T offset()
const = 0;
67 virtual float phase()
const = 0;
73 virtual void set_sampling_freq(
double sampling_freq) = 0;
85 virtual void set_frequency(
double frequency) = 0;
91 virtual void set_amplitude(
double ampl) = 0;
97 virtual void set_offset(T offset) = 0;
103 virtual void set_phase(
float phase) = 0;
sig_source< float > sig_source_f
Definition: sig_source.h:109
sig_source< gr_complex > sig_source_c
Definition: sig_source.h:110
signal generator with T output.
Definition: sig_source.h:39
sig_source< std::int32_t > sig_source_i
Definition: sig_source.h:108
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
boost::shared_ptr< sig_source< T > > sptr
Definition: sig_source.h:43
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
sig_source< std::int8_t > sig_source_b
Definition: sig_source.h:106
sig_source< std::int16_t > sig_source_s
Definition: sig_source.h:107