GNU Radio 3.6.5 C++ API

gr::blocks::annotator_alltoall Class Reference

All-to-all stream annotator testing block. FOR TESTING PURPOSES ONLY. More...

#include <annotator_alltoall.h>

Inheritance diagram for gr::blocks::annotator_alltoall:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::annotator_alltoall_impl

List of all members.

Public Types

typedef boost::shared_ptr
< annotator_alltoall
sptr

Public Member Functions

virtual std::vector< gr_tag_tdata () const =0

Static Public Member Functions

static sptr make (int when, size_t sizeof_stream_item)

Detailed Description

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.


Member Typedef Documentation


Member Function Documentation

virtual std::vector<gr_tag_t> gr::blocks::annotator_alltoall::data ( ) const [pure virtual]
static sptr gr::blocks::annotator_alltoall::make ( int  when,
size_t  sizeof_stream_item 
) [static]

The documentation for this class was generated from the following file: