GNU Radio 3.5.1 C++ API
|
Manage the execution of a single block. More...
#include <gr_block_executor.h>
Public Types | |
enum | state { READY, READY_NO_OUTPUT, BLKD_IN, BLKD_OUT, DONE } |
Public Member Functions | |
gr_block_executor (gr_block_sptr block, int max_noutput_items=100000) | |
~gr_block_executor () | |
state | run_one_iteration () |
Protected Attributes | |
gr_block_sptr | d_block |
std::ofstream * | d_log |
gr_vector_int | d_ninput_items_required |
gr_vector_int | d_ninput_items |
gr_vector_const_void_star | d_input_items |
std::vector< bool > | d_input_done |
gr_vector_void_star | d_output_items |
std::vector< uint64_t > | d_start_nitems_read |
std::vector< gr_tag_t > | d_returned_tags |
int | d_max_noutput_items |
Manage the execution of a single block.
gr_block_executor::gr_block_executor | ( | gr_block_sptr | block, |
int | max_noutput_items = 100000 |
||
) |
gr_block_executor::~gr_block_executor | ( | ) |
state gr_block_executor::run_one_iteration | ( | ) |
gr_block_sptr gr_block_executor::d_block [protected] |
std::vector<bool> gr_block_executor::d_input_done [protected] |
std::ofstream* gr_block_executor::d_log [protected] |
int gr_block_executor::d_max_noutput_items [protected] |
gr_vector_int gr_block_executor::d_ninput_items [protected] |
gr_vector_void_star gr_block_executor::d_output_items [protected] |
std::vector<gr_tag_t> gr_block_executor::d_returned_tags [protected] |
std::vector<uint64_t> gr_block_executor::d_start_nitems_read [protected] |