GNU Radio 3.6.5 C++ API

gr_annotator_raw Class Reference

raw stream annotator testing block. More...

#include <gr_annotator_raw.h>

Inheritance diagram for gr_annotator_raw:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 ~gr_annotator_raw ()
int work (int noutput_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
void add_tag (uint64_t offset, pmt::pmt_t key, pmt::pmt_t val)

Protected Member Functions

 gr_annotator_raw (size_t sizeof_stream_item)

Friends

GR_CORE_API gr_annotator_raw_sptr gr_make_annotator_raw (size_t sizeof_stream_item)

Detailed Description

raw stream annotator testing block.

This block creates arbitrary tags to be sent downstream blocks to be sent are set manually via accessor methods and are sent only once.

This block is intended for testing of tag related blocks


Constructor & Destructor Documentation

gr_annotator_raw::~gr_annotator_raw ( )
gr_annotator_raw::gr_annotator_raw ( size_t  sizeof_stream_item) [protected]

Member Function Documentation

void gr_annotator_raw::add_tag ( uint64_t  offset,
pmt::pmt_t  key,
pmt::pmt_t  val 
)
int gr_annotator_raw::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [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.


Friends And Related Function Documentation

GR_CORE_API gr_annotator_raw_sptr gr_make_annotator_raw ( size_t  sizeof_stream_item) [friend]

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