GNU Radio 3.5.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

tag_sink_demo::tag_sink_demo ( void  ) [inline]

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::pmt_string_to_symbol(), pmt::pmt_to_double(), pmt::pmt_to_uint64(), pmt::pmt_tuple_ref(), and gr_tag_t::value.


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