#include <gnuradio/tags.h>
Public Member Functions | |
| bool | operator== (const tag_t &t) const |
| equality comparison. Compares all details, except marked_delete | |
| tag_t () | |
| tag_t (const tag_t &rhs) | |
| Copy constructor; constructs identical tag, but doesn't copy marked_delete. | |
| tag_t & | operator= (const tag_t &rhs) |
| ~tag_t () | |
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. | |
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. | |
Friends | |
| bool | operator< (const tag_t &x, const tag_t &y) |
Comparison function to test which tag, x or y, came first in time. | |
|
inline |
References key, offset, PMT_F, PMT_NIL, srcid, and value.
Referenced by offset_compare(), operator<, operator=(), operator==(), and tag_t().
|
inline |
|
inline |
Comparison function to test which tag, x or y, came first in time.
References tag_t().
|
inline |
| pmt::pmt_t gr::tag_t::key |
the key of tag (as a PMT symbol)
Referenced by gr::block::add_item_tag(), operator=(), operator==(), gr::block::remove_item_tag(), tag_t(), and tag_t().
| 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.
| uint64_t gr::tag_t::offset |
the item tag occurred at (as a uint64_t)
Referenced by gr::block::add_item_tag(), operator<, operator=(), operator==(), gr::block::remove_item_tag(), tag_t(), and tag_t().
| pmt::pmt_t gr::tag_t::srcid |
the source ID of tag (as a PMT)
Referenced by gr::block::add_item_tag(), operator=(), operator==(), gr::block::remove_item_tag(), tag_t(), and tag_t().
| pmt::pmt_t gr::tag_t::value |
the value of tag (as a PMT)
Referenced by gr::block::add_item_tag(), operator=(), operator==(), gr::block::remove_item_tag(), tag_t(), and tag_t().