11#ifndef INCLUDED_GR_TAGS_H
12#define INCLUDED_GR_TAGS_H
19#include <spdlog/tweakme.h>
23#include <spdlog/fmt/fmt.h>
52 return (t.
key == key) && (t.
value == value) && (t.
srcid == srcid) &&
62 fmt::format_context::iterator
format(
const gr::tag_t& tag, format_context& ctx)
const;
#define GR_RUNTIME_API
Definition gnuradio-runtime/include/gnuradio/api.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition pmt.h:85
enables PMTs to be formatted with fmt
Definition io_signature.h:194
fmt::format_context::iterator format(const gr::tag_t &tag, format_context &ctx) const
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.
Definition tags.h:47
friend bool operator<(const tag_t &x, const tag_t &y)
Comparison function to test which tag, x or y, came first in time.
Definition tags.h:42
uint64_t offset
the item tag occurred at (as a uint64_t)
Definition tags.h:30
pmt::pmt_t srcid
the source ID of tag (as a PMT)
Definition tags.h:39
bool operator==(const tag_t &t) const
equality comparison. Compares all details, except marked_delete
Definition tags.h:50
pmt::pmt_t value
the value of tag (as a PMT)
Definition tags.h:36
pmt::pmt_t key
the key of tag (as a PMT symbol)
Definition tags.h:33