From 6ff22ed8cadded8eb9426a2aa4970ce174f6bd1d Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Sat, 1 Jun 2013 20:02:29 +0200 Subject: [PATCH] start burst tagger --- lib/burst_tagger_impl.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/burst_tagger_impl.cc b/lib/burst_tagger_impl.cc index c2c6435..1f99b17 100644 --- a/lib/burst_tagger_impl.cc +++ b/lib/burst_tagger_impl.cc @@ -41,6 +41,16 @@ burst_tagger_impl::work(int noutput_items, const gr_complex *in = (const gr_complex*)input_items[0]; gr_complex *out = (gr_complex*)output_items[0]; + std::vector tags; + const uint64_t nread = nitems_read(0); + + get_tags_in_range(tags, 0, nread, nread + noutput_items - 1, + d_tag_name); + std::sort(tags.begin(), tags.end(), tag_t::offset_compare); + + if(tags.size()) { + } + return noutput_items; }