|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Tag Deletion Scenario |
Date: | Sat, 18 Jul 2015 15:14:06 -0400 |
RichIf all this works as I've described above, how can we protect blocks up stream that may be acting on this tag when it suddenly disappears because of an erase call like the one above?You can see the current block of data lies between items 1000 and 1049 but I'm deleting a tag from the range 100 to 200, whose item may be several blocks upstream by now.tags.erase(tags.begin());get_tags_in_range(tags, 0, 100, 200);noutput_items = 50;nitems_read = 1000;Since tags are in a different buffer then data, if I use get_tags_in_range to get tags outside the current noutput_items worth of data I'm working on, and erase one of those tags, would the tag simply disappear from the sample that has long ago passed through the block?Here is an example:
[Prev in Thread] | Current Thread | [Next in Thread] |