GNU Radio 3.4.0 C++ API
msdd_rs_source_simple Class Reference

#include <msdd_rs_source_simple.h>

Inheritance diagram for msdd_rs_source_simple:

List of all members.

Public Member Functions

 ~msdd_rs_source_simple ()
bool stop ()
 Called to disable drivers, etc for i/o devices.
bool start ()
 Called to enable drivers, etc for i/o devices.
int start_data ()
int stop_data ()
bool set_ddc_samp_rate (double)
bool set_ddc_bw (double)
bool set_rx_freq (double)
bool set_ddc_gain (double)
bool set_rf_atten (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 pull_adc_freq ()
float pull_ddc_samp_rate ()
float pull_ddc_bw ()
float pull_rx_freq ()
int pull_ddc_gain ()
int pull_rf_atten ()
std::vector< int > gain_range ()
std::vector< float > freq_range ()

Protected Member Functions

 msdd_rs_source_simple (const char *src, unsigned short port_src)

Friends

msdd_rs_source_simple_sptr msdd_rs_make_source_simple (const char *src, unsigned short port_src)

Constructor & Destructor Documentation

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

Member Function Documentation

std::vector<float> msdd_rs_source_simple::freq_range ( )
std::vector<int> msdd_rs_source_simple::gain_range ( )
long msdd_rs_source_simple::pull_adc_freq ( )
float msdd_rs_source_simple::pull_ddc_bw ( )
int msdd_rs_source_simple::pull_ddc_gain ( )
float msdd_rs_source_simple::pull_ddc_samp_rate ( )
int msdd_rs_source_simple::pull_rf_atten ( )
float msdd_rs_source_simple::pull_rx_freq ( )
bool msdd_rs_source_simple::set_ddc_bw ( double  )
bool msdd_rs_source_simple::set_ddc_gain ( double  )
bool msdd_rs_source_simple::set_ddc_samp_rate ( double  )
bool msdd_rs_source_simple::set_rf_atten ( double  )
bool msdd_rs_source_simple::set_rx_freq ( double  )
bool msdd_rs_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.

int msdd_rs_source_simple::start_data ( )
bool msdd_rs_source_simple::stop ( ) [virtual]

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

Reimplemented from gr_block.

int msdd_rs_source_simple::stop_data ( )
int msdd_rs_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_rs_source_simple_sptr msdd_rs_make_source_simple ( const char *  src,
unsigned short  port_src 
) [friend]

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