From b5fcc18523caeafebbf117cf2c838e7974856966 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <tom@trondeau.com> Date: Sun, 23 Feb 2014 11:25:57 -0500 Subject: tags: adds get_tags_in_window helper function for handling tags. Also updates some docs. --- docs/doxygen/other/stream_tags.dox | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'docs/doxygen/other') diff --git a/docs/doxygen/other/stream_tags.dox b/docs/doxygen/other/stream_tags.dox index 2a03c9629c..851740984e 100644 --- a/docs/doxygen/other/stream_tags.dox +++ b/docs/doxygen/other/stream_tags.dox @@ -63,15 +63,26 @@ at <em>nitems_written(0)+i</em> for the 0th output port. The stream tags API consists of four functions, two to add and two to get the stream tags. These functions are: -\li add_item_tag: Adds an item tag to a particular output port using a +\li gr::block::add_item_tag: Adds an item tag to a particular output port using a gr::tag_t data type. -\li add_item_tag: Adds an item tag to a particular output port where -each value of the tag is explicitly given. -\li get_tags_in_range: Gets all tags from a particular input port between -a certain range of items (in absolute item time). -\li get_tags_in_range: Gets any tag that has a specified key from a -particular input port between a certain range of items (in absolute -item time). + +\li gr::block::add_item_tag: Adds an item tag to a particular output +port where each value of the tag is explicitly given. + +\li gr::block::get_tags_in_range: Gets all tags from a particular +input port between a certain range of items (in absolute item time). + +\li gr::block::get_tags_in_range: Gets any tag that has a specified +key from a particular input port between a certain range of items (in +absolute item time). + +\li gr::block::get_tags_in_window: Gets all tags from a particular +input port between a certain range of items (in relative item time +within the work function). + +\li gr::block::get_tags_in_range: Gets any tag that has a specified +key from a particular input port between a certain range of items (in +relative item time within the work function). \subsection add_item_tag Adding a Tag to a Stream -- cgit v1.2.3