GNU Radio 3.7.1 C++ API
tag_sink_demo Class Reference

#include <tag_sink_demo.h>

Inheritance diagram for tag_sink_demo:

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

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.


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