diff options
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_buffer.h')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_buffer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.h b/gnuradio-core/src/lib/runtime/gr_buffer.h index 28ea977269..443ffb3906 100644 --- a/gnuradio-core/src/lib/runtime/gr_buffer.h +++ b/gnuradio-core/src/lib/runtime/gr_buffer.h @@ -106,10 +106,14 @@ class GR_CORE_API gr_buffer { * \brief Removes an existing tag from the buffer. * * If no such tag is found, does nothing. + * Note: Doesn't actually physically delete the tag, but + * marks it as deleted. For the user, this has the same effect: + * Any subsequent calls to get_tags_in_range() will not return + * the tag. * * \param tag the tag that needs to be removed */ - void remove_item_tag(const gr_tag_t &tag); + void remove_item_tag(const gr_tag_t &tag, long id); /*! * \brief Removes all tags before \p max_time from buffer @@ -282,7 +286,8 @@ class GR_CORE_API gr_buffer_reader { */ void get_tags_in_range(std::vector<gr_tag_t> &v, uint64_t abs_start, - uint64_t abs_end); + uint64_t abs_end, + long id); // ------------------------------------------------------------------------- |