GNU Radio C++ API Reference  g90d26cb
The Free & Open Software Radio Ecosystem
gr::tag_t Struct Reference

#include <gnuradio/tags.h>

Public Member Functions

bool operator== (const tag_t &t) const
 equality comparison. Compares all details, except marked_delete More...
 

Static Public Member Functions

static bool offset_compare (const tag_t &x, const tag_t &y)
 Comparison function to test which tag, x or y, came first in time. More...
 

Public Attributes

uint64_t offset = 0
 the item tag occurred at (as a uint64_t) More...
 
pmt::pmt_t key = pmt::PMT_NIL
 the key of tag (as a PMT symbol) More...
 
pmt::pmt_t value = pmt::PMT_NIL
 the value of tag (as a PMT) More...
 
pmt::pmt_t srcid = pmt::PMT_F
 the source ID of tag (as a PMT) More...
 

Friends

bool operator< (const tag_t &x, const tag_t &y)
 Comparison function to test which tag, x or y, came first in time. More...
 

Member Function Documentation

◆ offset_compare()

static bool gr::tag_t::offset_compare ( const tag_t x,
const tag_t y 
)
inlinestatic

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

◆ operator==()

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

equality comparison. Compares all details, except marked_delete

References key, offset, srcid, and value.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const tag_t x,
const tag_t y 
)
friend

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

Member Data Documentation

◆ key

pmt::pmt_t gr::tag_t::key = pmt::PMT_NIL

the key of tag (as a PMT symbol)

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

◆ offset

uint64_t gr::tag_t::offset = 0

the item tag occurred at (as a uint64_t)

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

◆ srcid

pmt::pmt_t gr::tag_t::srcid = pmt::PMT_F

the source ID of tag (as a PMT)

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

◆ value

pmt::pmt_t gr::tag_t::value = pmt::PMT_NIL

the value of tag (as a PMT)

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


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