GNU Radio 3.6.5 C++ API
|
raw stream annotator testing block. More...
#include <gr_annotator_raw.h>
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) |
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
gr_annotator_raw::~gr_annotator_raw | ( | ) |
gr_annotator_raw::gr_annotator_raw | ( | size_t | sizeof_stream_item | ) | [protected] |
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.
GR_CORE_API gr_annotator_raw_sptr gr_make_annotator_raw | ( | size_t | sizeof_stream_item | ) | [friend] |