GNU Radio 3.7.1 C++ API
gr::analog::sig_source_i Class Reference

signal generator with int output. More...

#include <sig_source_i.h>

Inheritance diagram for gr::analog::sig_source_i:

List of all members.

Public Types

typedef boost::shared_ptr
< sig_source_i
sptr

Public Member Functions

virtual double sampling_freq () const =0
virtual gr::analog::gr_waveform_t waveform () const =0
virtual double frequency () const =0
virtual double amplitude () const =0
virtual int offset () const =0
virtual void set_sampling_freq (double sampling_freq)=0
virtual void set_waveform (gr::analog::gr_waveform_t waveform)=0
virtual void set_frequency (double frequency)=0
virtual void set_amplitude (double ampl)=0
virtual void set_offset (int offset)=0

Static Public Member Functions

static sptr make (double sampling_freq, gr::analog::gr_waveform_t waveform, double wave_freq, double ampl, int offset=0)

Detailed Description

signal generator with int output.


Member Typedef Documentation


Member Function Documentation

virtual double gr::analog::sig_source_i::amplitude ( ) const [pure virtual]
virtual double gr::analog::sig_source_i::frequency ( ) const [pure virtual]
static sptr gr::analog::sig_source_i::make ( double  sampling_freq,
gr::analog::gr_waveform_t  waveform,
double  wave_freq,
double  ampl,
int  offset = 0 
) [static]

Build a signal source block.

Parameters:
sampling_freqSampling rate of signal.
waveformwavetform type.
wave_freqFrequency of waveform (relative to sampling_freq).
amplSignal amplitude.
offsetoffset of signal.
virtual int gr::analog::sig_source_i::offset ( ) const [pure virtual]
virtual double gr::analog::sig_source_i::sampling_freq ( ) const [pure virtual]
virtual void gr::analog::sig_source_i::set_amplitude ( double  ampl) [pure virtual]
virtual void gr::analog::sig_source_i::set_frequency ( double  frequency) [pure virtual]
virtual void gr::analog::sig_source_i::set_offset ( int  offset) [pure virtual]
virtual void gr::analog::sig_source_i::set_sampling_freq ( double  sampling_freq) [pure virtual]

The documentation for this class was generated from the following file: