GNU Radio 3.6.5 C++ API
|
#include <gr_tags.h>
Public Member Functions | |
bool | operator== (const gr_tag_t &t) const |
Static Public Member Functions | |
static bool | offset_compare (const gr_tag_t &x, const gr_tag_t &y) |
Comparison function to test which tag, x or y , came first in time. | |
Public Attributes | |
uint64_t | offset |
the item tag occurred at (as a uint64_t) | |
pmt::pmt_t | key |
the key of tag (as a PMT symbol) | |
pmt::pmt_t | value |
the value of tag (as a PMT) | |
pmt::pmt_t | srcid |
the source ID of tag (as a PMT) | |
std::vector< long > | marked_deleted |
Used by gr_buffer to mark a tagged as deleted by a specific block. You can usually ignore this. |
Comparison function to test which tag, x
or y
, came first in time.
References offset.
bool gr_tag_t::operator== | ( | const gr_tag_t & | t | ) | const [inline] |
the key of tag
(as a PMT symbol)
Referenced by gr_block::add_item_tag(), operator==(), and gr_block::remove_item_tag().
Used by gr_buffer to mark a tagged as deleted by a specific block. You can usually ignore this.
the item tag
occurred at (as a uint64_t)
Referenced by gr_block::add_item_tag(), offset_compare(), operator==(), gr_block::remove_item_tag(), and tag_sink_demo::work().
the source ID of tag
(as a PMT)
Referenced by gr_block::add_item_tag(), operator==(), and gr_block::remove_item_tag().
the value of tag
(as a PMT)
Referenced by gr_block::add_item_tag(), operator==(), gr_block::remove_item_tag(), and tag_sink_demo::work().