summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_buffer.h
diff options
context:
space:
mode:
authorTom Rondeau2013-01-15 13:05:11 -0500
committerTom Rondeau2013-01-15 13:05:11 -0500
commite1e632469905f8c4b5f0d35c988744c77cf6a227 (patch)
tree75a9024c422d995f7d6db5f6f24701d6d4625383 /gnuradio-core/src/lib/runtime/gr_buffer.h
parent6af94e62e294f9c74f11f529bd6fc6999527d24c (diff)
parentf676197e6dd2a638f294e350654e32d3ffc45af8 (diff)
downloadgnuradio-e1e632469905f8c4b5f0d35c988744c77cf6a227.tar.gz
gnuradio-e1e632469905f8c4b5f0d35c988744c77cf6a227.tar.bz2
gnuradio-e1e632469905f8c4b5f0d35c988744c77cf6a227.zip
Merge remote-tracking branch 'mbant/equal_for_tags'
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_buffer.h')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_buffer.h9
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 67d48fb2d..28ea97726 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.