GNU Radio 3.7.1 C++ API
gr::tag_t Struct Reference

#include <tags.h>

List of all members.

Public Member Functions

bool operator== (const tag_t &t) const

Static Public Member Functions

static bool offset_compare (const tag_t &x, const tag_t &y)

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.

Member Function Documentation

static bool gr::tag_t::offset_compare ( const tag_t x,
const tag_t y 
) [inline, static]

Comparison function to test which tag, x or y, came first in time

References offset.

bool gr::tag_t::operator== ( const tag_t t) const [inline]

References key, offset, srcid, and value.


Member Data Documentation

the key of tag (as a PMT symbol)

Referenced by gr::block::add_item_tag(), operator==(), and gr::block::remove_item_tag().

std::vector<long> gr::tag_t::marked_deleted

Used by gr_buffer to mark a tagged as deleted by a specific block. You can usually ignore this.


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