GNU Radio 3.7.1 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::string_to_symbol(), pmt::to_double(), pmt::to_uint64(), pmt::tuple_ref(), and gr::tag_t::value.