diff options
author | Martin Braun <martin.braun@kit.edu> | 2013-01-07 17:10:20 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@kit.edu> | 2013-01-15 14:50:03 +0100 |
commit | f676197e6dd2a638f294e350654e32d3ffc45af8 (patch) | |
tree | 276a0182743ea38db16df9741dc98e06ccd4dade /gnuradio-core/src/lib/runtime/gr_buffer.h | |
parent | f2bf6fbb5617f0d26654821fb1eb30bc2a1c16a2 (diff) |
core: added remove_tag_item()
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, 9 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.h b/gnuradio-core/src/lib/runtime/gr_buffer.h index 67d48fb2dd..28ea977269 100644 --- a/gnuradio-core/src/lib/runtime/gr_buffer.h +++ b/gnuradio-core/src/lib/runtime/gr_buffer.h @@ -103,6 +103,15 @@ class GR_CORE_API gr_buffer { void add_item_tag(const gr_tag_t &tag); /*! + * \brief Removes an existing tag from the buffer. + * + * If no such tag is found, does nothing. + * + * \param tag the tag that needs to be removed + */ + void remove_item_tag(const gr_tag_t &tag); + + /*! * \brief Removes all tags before \p max_time from buffer * * \param max_time the time (item number) to trim up until. |