GNU Radio 3.5.1 C++ API
gr_block_executor Class Reference

Manage the execution of a single block. More...

#include <gr_block_executor.h>

List of all members.

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_td_start_nitems_read
std::vector< gr_tag_td_returned_tags
int d_max_noutput_items

Detailed Description

Manage the execution of a single block.


Member Enumeration Documentation

Enumerator:
READY 
READY_NO_OUTPUT 
BLKD_IN 
BLKD_OUT 
DONE 

Constructor & Destructor Documentation

gr_block_executor::gr_block_executor ( gr_block_sptr  block,
int  max_noutput_items = 100000 
)
gr_block_executor::~gr_block_executor ( )

Member Function Documentation

state gr_block_executor::run_one_iteration ( )

Member Data Documentation

std::ofstream* gr_block_executor::d_log [protected]

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