GNU Radio 3.4.2 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(), and gr_block::nitems_read().