GNU Radio C++ API
gr_channel_model Class Reference

channel simulator More...

#include <gr_channel_model.h>

Inheritance diagram for gr_channel_model:

Public Member Functions

void set_noise_voltage (double noise_voltage)
 
void set_frequency_offset (double frequency_offset)
 
void set_taps (const std::vector< gr_complex > &taps)
 
void set_timing_offset (double epsilon)
 
- Public Member Functions inherited from gr_hier_block2
virtual ~gr_hier_block2 ()
 
opaque_self self ()
 Return an object, representing the current block, which can be passed to connect. More...
 
void connect (gr_basic_block_sptr block)
 Add a stand-alone (possibly hierarchical) block to internal graph. More...
 
void connect (gr_basic_block_sptr src, int src_port, gr_basic_block_sptr dst, int dst_port)
 Add gr-blocks or hierarchical blocks to internal graph and wire together. More...
 
void disconnect (gr_basic_block_sptr block)
 Remove a gr-block or hierarchical block from the internal flowgraph. More...
 
void disconnect (gr_basic_block_sptr src, int src_port, gr_basic_block_sptr dst, int dst_port)
 Disconnect a pair of gr-blocks or hierarchical blocks in internal flowgraph. More...
 
void disconnect_all ()
 Disconnect all connections in the internal flowgraph. More...
 
virtual void lock ()
 
virtual void unlock ()
 
gr_flat_flowgraph_sptr flatten () const
 
gr_hier_block2_sptr to_hier_block2 ()
 
- Public Member Functions inherited from gr_basic_block
virtual ~gr_basic_block ()
 
long unique_id () const
 
std::string name () const
 
gr_io_signature_sptr input_signature () const
 
gr_io_signature_sptr output_signature () const
 
gr_basic_block_sptr to_basic_block ()
 
virtual bool check_topology (int ninputs, int noutputs)
 Confirm that ninputs and noutputs is an acceptable combination. More...
 
template<typename T >
void set_msg_handler (T msg_handler)
 Set the callback that is fired when messages are available. More...
 
- Public Member Functions inherited from gr_msg_accepter
 gr_msg_accepter ()
 
 ~gr_msg_accepter ()
 
void post (pmt::pmt_t msg)
 send msg to msg_accepter More...
 
- Public Member Functions inherited from gruel::msg_accepter
 msg_accepter ()
 
virtual ~msg_accepter ()
 

Friends

GR_CORE_API gr_channel_model_sptr gr_make_channel_model (double noise_voltage, double frequency_offset, double epsilon, const std::vector< gr_complex > &taps, double noise_seed)
 

Additional Inherited Members

- Public Types inherited from gr_hier_block2
typedef gr_basic_block_sptr opaque_self
 typedef for object returned from self(). More...
 
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
 
- Protected Member Functions inherited from gr_hier_block2
 gr_hier_block2 (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
 
- Protected Attributes inherited from gr_basic_block
std::string d_name
 
gr_io_signature_sptr d_input_signature
 
gr_io_signature_sptr d_output_signature
 
long d_unique_id
 
vcolor d_color
 

Detailed Description

channel simulator

Member Function Documentation

void gr_channel_model::set_frequency_offset ( double  frequency_offset)
void gr_channel_model::set_noise_voltage ( double  noise_voltage)
void gr_channel_model::set_taps ( const std::vector< gr_complex > &  taps)
void gr_channel_model::set_timing_offset ( double  epsilon)

Friends And Related Function Documentation

GR_CORE_API gr_channel_model_sptr gr_make_channel_model ( double  noise_voltage,
double  frequency_offset,
double  epsilon,
const std::vector< gr_complex > &  taps,
double  noise_seed 
)
friend

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