GNU Radio 3.6.0 C++ API
|
#include <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.
void block_gateway::gr_block__add_item_tag | ( | unsigned int | which_output, |
const gr_tag_t & | tag | ||
) | [inline] |
References gr_block::add_item_tag().
void 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().
bool block_gateway::gr_block__check_msg_queue | ( | void | ) | [inline] |
References gr_block::check_msg_queue().
void block_gateway::gr_block__consume | ( | int | which_input, |
int | how_many_items | ||
) | [inline] |
References gr_block::consume().
void block_gateway::gr_block__consume_each | ( | int | how_many_items | ) | [inline] |
References gr_block::consume_each().
bool block_gateway::gr_block__fixed_rate | ( | void | ) | const [inline] |
References gr_block::fixed_rate().
std::vector<gr_tag_t> 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> 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 block_gateway::gr_block__history | ( | void | ) | const [inline] |
References gr_block::history().
std::string block_gateway::gr_block__name | ( | void | ) | const [inline] |
References gr_basic_block::name().
uint64_t block_gateway::gr_block__nitems_read | ( | unsigned int | which_input | ) | [inline] |
References gr_block::nitems_read().
uint64_t block_gateway::gr_block__nitems_written | ( | unsigned int | which_output | ) | [inline] |
References gr_block::nitems_written().
int block_gateway::gr_block__output_multiple | ( | void | ) | const [inline] |
References gr_block::output_multiple().
gr_tag_t block_gateway::gr_block__pop_msg_queue | ( | void | ) | [inline] |
References gr_block::pop_msg_queue().
void block_gateway::gr_block__post_msg | ( | const std::string & | group, |
const gr_tag_t & | msg | ||
) | [inline] |
References gr_block::post_msg().
void block_gateway::gr_block__post_msg | ( | const std::string & | group, |
const pmt::pmt_t & | key, | ||
const pmt::pmt_t & | value, | ||
const pmt::pmt_t & | srcid = pmt::PMT_F |
||
) | [inline] |
References gr_block::post_msg().
void block_gateway::gr_block__produce | ( | int | which_output, |
int | how_many_items | ||
) | [inline] |
References gr_block::produce().
void block_gateway::gr_block__push_msg_queue | ( | const gr_tag_t & | msg | ) | [inline] |
References gr_block::push_msg_queue().
double block_gateway::gr_block__relative_rate | ( | void | ) | const [inline] |
References gr_block::relative_rate().
void block_gateway::gr_block__set_fixed_rate | ( | bool | fixed_rate | ) | [inline] |
References gr_block::set_fixed_rate().
void block_gateway::gr_block__set_history | ( | unsigned | history | ) | [inline] |
References gr_block::set_history().
void block_gateway::gr_block__set_output_multiple | ( | int | multiple | ) | [inline] |
References gr_block::set_output_multiple().
void block_gateway::gr_block__set_relative_rate | ( | double | relative_rate | ) | [inline] |
References gr_block::set_relative_rate().
void 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 block_gateway::gr_block__tag_propagation_policy | ( | void | ) | [inline] |
References gr_block::tag_propagation_policy().
long block_gateway::gr_block__unique_id | ( | void | ) | const [inline] |
References gr_basic_block::unique_id().
virtual gr_block_gw_message_type& block_gateway::gr_block_message | ( | void | ) | [pure virtual] |
Provide access to the shared message object.
static sptr block_gateway::make | ( | gr_feval_ll * | handler, |
const std::string & | name, | ||
gr_io_signature_sptr | in_sig, | ||
gr_io_signature_sptr | out_sig, | ||
const gr_block_gw_work_type | work_type, | ||
const unsigned | factor | ||
) | [static] |
Make a new gateway block.
handler | the swig director object with callback |
name | the name of the block (Ex: "Shirley") |
in_sig | the input signature for this block |
out_sig | the output signature for this block |
work_type | the type of block overload to implement |
factor | the decimation or interpolation factor |