GNU Radio 3.6.5 C++ API
|
#include <gr_block_gateway.h>
The gateway block which performs all the magic.
The gateway provides access to all the gr_block routines. The methods prefixed with gr_block__ are renamed to class methods without the prefix in python.
typedef std::map<pmt::pmt_t, gr_feval_p *, pmt::pmt_comperator> gr_block_gateway::msg_handlers_feval_t [protected] |
void gr_block_gateway::dispatch_msg | ( | pmt::pmt_t | which_port, |
pmt::pmt_t | msg | ||
) | [inline, protected, virtual] |
Reimplemented from gr_basic_block.
References gr_basic_block::dispatch_msg().
void gr_block_gateway::gr_block__add_item_tag | ( | unsigned int | which_output, |
uint64_t | abs_offset, | ||
const pmt::pmt_t & | key, | ||
const pmt::pmt_t & | value, | ||
const pmt::pmt_t & | srcid = pmt::PMT_F |
||
) | [inline] |
References gr_block::add_item_tag().
void gr_block_gateway::gr_block__add_item_tag | ( | unsigned int | which_output, |
const gr_tag_t & | tag | ||
) | [inline] |
References gr_block::add_item_tag().
void gr_block_gateway::gr_block__consume | ( | int | which_input, |
int | how_many_items | ||
) | [inline] |
References gr_block::consume().
void gr_block_gateway::gr_block__consume_each | ( | int | how_many_items | ) | [inline] |
References gr_block::consume_each().
bool gr_block_gateway::gr_block__fixed_rate | ( | void | ) | const [inline] |
References gr_block::fixed_rate().
std::vector<gr_tag_t> gr_block_gateway::gr_block__get_tags_in_range | ( | unsigned int | which_input, |
uint64_t | abs_start, | ||
uint64_t | abs_end | ||
) | [inline] |
References gr_block::get_tags_in_range().
std::vector<gr_tag_t> gr_block_gateway::gr_block__get_tags_in_range | ( | unsigned int | which_input, |
uint64_t | abs_start, | ||
uint64_t | abs_end, | ||
const pmt::pmt_t & | key | ||
) | [inline] |
References gr_block::get_tags_in_range().
unsigned gr_block_gateway::gr_block__history | ( | void | ) | const [inline] |
References gr_block::history().
void gr_block_gateway::gr_block__message_port_pub | ( | pmt::pmt_t | port_id, |
pmt::pmt_t | msg | ||
) | [inline] |
References gr_basic_block::message_port_pub().
void gr_block_gateway::gr_block__message_port_register_in | ( | pmt::pmt_t | port_id | ) | [inline] |
References gr_basic_block::message_port_register_in().
void gr_block_gateway::gr_block__message_port_register_out | ( | pmt::pmt_t | port_id | ) | [inline] |
References gr_basic_block::message_port_register_out().
void gr_block_gateway::gr_block__message_port_sub | ( | pmt::pmt_t | port_id, |
pmt::pmt_t | target | ||
) | [inline] |
References gr_basic_block::message_port_sub().
void gr_block_gateway::gr_block__message_port_unsub | ( | pmt::pmt_t | port_id, |
pmt::pmt_t | target | ||
) | [inline] |
References gr_basic_block::message_port_unsub().
pmt::pmt_t gr_block_gateway::gr_block__message_ports_in | ( | ) | [inline] |
References gr_basic_block::message_ports_in().
pmt::pmt_t gr_block_gateway::gr_block__message_ports_out | ( | ) | [inline] |
References gr_basic_block::message_ports_out().
std::string gr_block_gateway::gr_block__name | ( | void | ) | const [inline] |
References gr_basic_block::name().
uint64_t gr_block_gateway::gr_block__nitems_read | ( | unsigned int | which_input | ) | [inline] |
References gr_block::nitems_read().
uint64_t gr_block_gateway::gr_block__nitems_written | ( | unsigned int | which_output | ) | [inline] |
References gr_block::nitems_written().
int gr_block_gateway::gr_block__output_multiple | ( | void | ) | const [inline] |
References gr_block::output_multiple().
void gr_block_gateway::gr_block__produce | ( | int | which_output, |
int | how_many_items | ||
) | [inline] |
References gr_block::produce().
double gr_block_gateway::gr_block__relative_rate | ( | void | ) | const [inline] |
References gr_block::relative_rate().
void gr_block_gateway::gr_block__set_fixed_rate | ( | bool | fixed_rate | ) | [inline] |
References gr_block::set_fixed_rate().
void gr_block_gateway::gr_block__set_history | ( | unsigned | history | ) | [inline] |
References gr_block::set_history().
void gr_block_gateway::gr_block__set_output_multiple | ( | int | multiple | ) | [inline] |
References gr_block::set_output_multiple().
void gr_block_gateway::gr_block__set_relative_rate | ( | double | relative_rate | ) | [inline] |
References gr_block::set_relative_rate().
void gr_block_gateway::gr_block__set_tag_propagation_policy | ( | gr_block::tag_propagation_policy_t | p | ) | [inline] |
References gr_block::set_tag_propagation_policy().
gr_block::tag_propagation_policy_t gr_block_gateway::gr_block__tag_propagation_policy | ( | void | ) | [inline] |
References gr_block::tag_propagation_policy().
long gr_block_gateway::gr_block__unique_id | ( | void | ) | const [inline] |
References gr_basic_block::unique_id().
virtual gr_block_gw_message_type& gr_block_gateway::gr_block_message | ( | void | ) | [pure virtual] |
Provide access to the shared message object.
void gr_block_gateway::set_msg_handler_feval | ( | pmt::pmt_t | which_port, |
gr_feval_p * | msg_handler | ||
) | [inline] |