#include <gr_block.h>
#include <vector>
Go to the source code of this file.
Classes | |
class | gr_stream_mux |
Stream muxing block to multiplex many streams into one with a specified format. More... | |
Typedefs | |
typedef boost::shared_ptr < gr_stream_mux > | gr_stream_mux_sptr |
Functions | |
gr_stream_mux_sptr | gr_make_stream_mux (size_t itemsize, const std::vector< int > &lengths) |
Creates a stream muxing block to multiplex many streams into one with a specified format. |
gr_stream_mux_sptr gr_make_stream_mux | ( | size_t | itemsize, | |
const std::vector< int > & | lengths | |||
) |
Creates a stream muxing block to multiplex many streams into one with a specified format.
itemsize | the item size of the stream | |
length | a vector (list/tuple) specifying the number of items from each stream the mux together. Warning: this requires that at least as many items per stream are available or the system will wait indefinitely for the items. |