GNU Radio 3.6.5 C++ API
|
All-to-all stream annotator testing block. FOR TESTING PURPOSES ONLY. More...
#include <annotator_alltoall.h>
Public Types | |
typedef boost::shared_ptr < annotator_alltoall > | sptr |
Public Member Functions | |
virtual std::vector< gr_tag_t > | data () const =0 |
Static Public Member Functions | |
static sptr | make (int when, size_t sizeof_stream_item) |
All-to-all stream annotator testing block. FOR TESTING PURPOSES ONLY.
This block creates tags to be sent downstream every 10,000 items it sees. The tags contain the name and ID of the instantiated block, use "seq" as a key, and have a counter that increments by 1 for every tag produced that is used as the tag's value. The tags are propagated using the all-to-all policy.
It also stores a copy of all tags it sees flow past it. These tags can be recalled externally with the data() member.
This block is only meant for testing and showing how to use the tags.
virtual std::vector<gr_tag_t> gr::blocks::annotator_alltoall::data | ( | ) | const [pure virtual] |
Implemented in gr::blocks::annotator_alltoall_impl.
static sptr gr::blocks::annotator_alltoall::make | ( | int | when, |
size_t | sizeof_stream_item | ||
) | [static] |