GNU Radio 3.6.5 C++ API
|
#include <tag_debug_impl.h>
Public Member Functions | |
tag_debug_impl (size_t sizeof_stream_item, const std::string &name) | |
~tag_debug_impl () | |
std::vector< gr_tag_t > | current_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 |
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 | ( | ) |
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.