GNU Radio 3.6.5 C++ API
|
#include <tag_sink_demo.h>
Public Member Functions | |
tag_sink_demo (void) | |
int | work (int ninput_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 |
tag_sink_demo::tag_sink_demo | ( | void | ) | [inline] |
int tag_sink_demo::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [inline, 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.
References gr_block::get_tags_in_range(), gr_block::nitems_read(), gr_tag_t::offset, pmt::pmt_string_to_symbol(), pmt::pmt_to_double(), pmt::pmt_to_uint64(), pmt::pmt_tuple_ref(), and gr_tag_t::value.