GNU Radio 3.6.5 C++ API

gr::blocks::tagged_stream_mux Class Reference

Combines tagged streams. More...

#include <tagged_stream_mux.h>

Inheritance diagram for gr::blocks::tagged_stream_mux:
gr_tagged_stream_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::tagged_stream_mux_impl

List of all members.

Public Types

typedef boost::shared_ptr
< tagged_stream_mux

Static Public Member Functions

static sptr make (size_t itemsize, const std::string &lengthtagname)

Detailed Description

Combines tagged streams.

Takes N streams as input. Each stream is tagged with packet lengths. Packets are output sequentially from each input stream.

The output signal has a new length tag, which is the sum of all individual length tags. The old length tags are discarded.

All other tags are propagated as expected, i.e. they stay associated with the same input item.

Member Typedef Documentation

Member Function Documentation

static sptr gr::blocks::tagged_stream_mux::make ( size_t  itemsize,
const std::string &  lengthtagname 
) [static]

Make a tagged stream mux block.

itemsizeItems size (number of bytes per item)
lengthtagnameLength tag key

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