GNU Radio 3.6.2 C++ API
|
channel simulator More...
#include <gr_channel_model.h>
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) |
double | noise_voltage () const |
double | frequency_offset () const |
std::vector< gr_complex > | taps () const |
double | timing_offset () const |
![]() | |
virtual | ~gr_hier_block2 () |
opaque_self | self () |
Return an object, representing the current block, which can be passed to connect. | |
void | connect (gr_basic_block_sptr block) |
Add a stand-alone (possibly hierarchical) block to internal graph. | |
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. | |
void | disconnect (gr_basic_block_sptr block) |
Remove a gr-block or hierarchical block from the internal flowgraph. | |
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. | |
void | disconnect_all () |
Disconnect all connections in the internal flowgraph. | |
virtual void | lock () |
virtual void | unlock () |
gr_flat_flowgraph_sptr | flatten () const |
gr_hier_block2_sptr | to_hier_block2 () |
![]() | |
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. | |
template<typename T > | |
void | set_msg_handler (T msg_handler) |
Set the callback that is fired when messages are available. | |
![]() | |
gr_msg_accepter () | |
~gr_msg_accepter () | |
void | post (pmt::pmt_t msg) |
send msg to 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 | |
![]() | |
typedef gr_basic_block_sptr | opaque_self |
typedef for object returned from self(). | |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
gr_hier_block2 (void) | |
gr_hier_block2 (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
![]() | |
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 |
channel simulator
double gr_channel_model::frequency_offset | ( | ) | const |
double gr_channel_model::noise_voltage | ( | ) | const |
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 | ) |
std::vector<gr_complex> gr_channel_model::taps | ( | ) | const |
double gr_channel_model::timing_offset | ( | ) | const |
|
friend |