GNU Radio 3.4.0 C++ API
msdd_source_simple Class Reference

#include <msdd_source_simple.h>

Inheritance diagram for msdd_source_simple:

List of all members.

Public Member Functions

 ~msdd_source_simple ()
bool stop ()
 Called to disable drivers, etc for i/o devices.
bool start ()
 Called to enable drivers, etc for i/o devices.
bool set_decim_rate (unsigned int)
bool set_rx_freq (int, double)
bool set_pga (int, double)
int work (int, gr_vector_const_void_star &, gr_vector_void_star &)
 just like gr_block::general_work, only this arranges to call consume_each for you
long adc_freq ()
int decim_rate ()
std::vector< int > gain_range ()
std::vector< float > freq_range ()

Protected Member Functions

 msdd_source_simple (const char *src, unsigned short port_src)

Friends

msdd_source_simple_sptr msdd_make_source_simple (const char *src, unsigned short port_src)

Constructor & Destructor Documentation

msdd_source_simple::msdd_source_simple ( const char *  src,
unsigned short  port_src 
) [protected]
msdd_source_simple::~msdd_source_simple ( )

Member Function Documentation

long msdd_source_simple::adc_freq ( )
int msdd_source_simple::decim_rate ( )
std::vector<float> msdd_source_simple::freq_range ( )
std::vector<int> msdd_source_simple::gain_range ( )
bool msdd_source_simple::set_decim_rate ( unsigned  int)
bool msdd_source_simple::set_pga ( int  ,
double   
)
bool msdd_source_simple::set_rx_freq ( int  ,
double   
)
bool msdd_source_simple::start ( ) [virtual]

Called to enable drivers, etc for i/o devices.

This allows a block to enable an associated driver to begin transfering data just before we start to execute the scheduler. The end result is that this reduces latency in the pipeline when dealing with audio devices, usrps, etc.

Reimplemented from gr_block.

bool msdd_source_simple::stop ( ) [virtual]

Called to disable drivers, etc for i/o devices.

Reimplemented from gr_block.

int msdd_source_simple::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.


Friends And Related Function Documentation

msdd_source_simple_sptr msdd_make_source_simple ( const char *  src,
unsigned short  port_src 
) [friend]

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