GNU Radio 3.6.5 C++ API

gr::analog::sig_source_i_impl Class Reference

#include <sig_source_i_impl.h>

Inheritance diagram for gr::analog::sig_source_i_impl:
gr::analog::sig_source_i gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 sig_source_i_impl (double sampling_freq, gr_waveform_t waveform, double wave_freq, double ampl, int offset=0)
 ~sig_source_i_impl ()
virtual int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you
double sampling_freq () const
gr_waveform_t waveform () const
double frequency () const
double amplitude () const
int offset () const
void set_sampling_freq (double sampling_freq)
void set_waveform (gr_waveform_t waveform)
void set_frequency (double frequency)
void set_amplitude (double ampl)
void set_offset (int offset)

Constructor & Destructor Documentation

gr::analog::sig_source_i_impl::sig_source_i_impl ( double  sampling_freq,
gr_waveform_t  waveform,
double  wave_freq,
double  ampl,
int  offset = 0 
)
gr::analog::sig_source_i_impl::~sig_source_i_impl ( )

Member Function Documentation

double gr::analog::sig_source_i_impl::amplitude ( ) const [inline, virtual]
double gr::analog::sig_source_i_impl::frequency ( ) const [inline, virtual]
int gr::analog::sig_source_i_impl::offset ( ) const [inline, virtual]
double gr::analog::sig_source_i_impl::sampling_freq ( ) const [inline, virtual]
void gr::analog::sig_source_i_impl::set_amplitude ( double  ampl) [virtual]
void gr::analog::sig_source_i_impl::set_frequency ( double  frequency) [virtual]
void gr::analog::sig_source_i_impl::set_offset ( int  offset) [virtual]
void gr::analog::sig_source_i_impl::set_sampling_freq ( double  sampling_freq) [virtual]
void gr::analog::sig_source_i_impl::set_waveform ( gr_waveform_t  waveform) [virtual]
gr_waveform_t gr::analog::sig_source_i_impl::waveform ( ) const [inline, virtual]
virtual int gr::analog::sig_source_i_impl::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.


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