GNU Radio 3.6.5.1 C++ API
gr::blocks::tag_debug_impl Class Reference

#include <tag_debug_impl.h>

Inheritance diagram for gr::blocks::tag_debug_impl:
gr::blocks::tag_debug gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

Public Member Functions

 tag_debug_impl (size_t sizeof_stream_item, const std::string &name)
 ~tag_debug_impl ()
std::vector< gr_tag_tcurrent_tags ()
 Returns a vector of gr_tag_t items as of the last call to work.
void set_display (bool d)
 Set the display of tags to stdout on/off.
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Additional Inherited Members

- Public Types inherited from gr::blocks::tag_debug
typedef boost::shared_ptr
< tag_debug
sptr
- Static Public Member Functions inherited from gr::blocks::tag_debug
static sptr make (size_t sizeof_stream_item, const std::string &name)
- Protected Types inherited from gr_basic_block
enum  vcolor { WHITE, GREY, BLACK }
- Protected Member Functions inherited from gr_sync_block
 gr_sync_block (void)
 gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature)
- Protected Attributes inherited from gr_block
std::vector< long > d_max_output_buffer
std::vector< long > d_min_output_buffer
gruel::mutex d_setlock
gr_logger_ptr d_logger
gr_logger_ptr d_debug_logger

Constructor & Destructor Documentation

gr::blocks::tag_debug_impl::tag_debug_impl ( size_t  sizeof_stream_item,
const std::string &  name 
)
gr::blocks::tag_debug_impl::~tag_debug_impl ( )

Member Function Documentation

std::vector<gr_tag_t> gr::blocks::tag_debug_impl::current_tags ( )
virtual

Returns a vector of gr_tag_t items as of the last call to work.

Implements gr::blocks::tag_debug.

void gr::blocks::tag_debug_impl::set_display ( bool  d)
virtual

Set the display of tags to stdout on/off.

Implements gr::blocks::tag_debug.

int gr::blocks::tag_debug_impl::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
)
virtual

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.


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