23#ifndef INCLUDED_BLOCKS_STREAM_TO_TAGGED_STREAM_H
24#define INCLUDED_BLOCKS_STREAM_TO_TAGGED_STREAM_H
48 typedef boost::shared_ptr<stream_to_tagged_stream>
sptr;
57 make(
size_t itemsize,
int vlen,
unsigned packet_len,
const std::string& len_tag_key);
Converts a regular stream into a tagged stream.
Definition: stream_to_tagged_stream.h:46
virtual void set_packet_len_pmt(unsigned packet_len)=0
static sptr make(size_t itemsize, int vlen, unsigned packet_len, const std::string &len_tag_key)
boost::shared_ptr< stream_to_tagged_stream > sptr
Definition: stream_to_tagged_stream.h:48
virtual void set_packet_len(unsigned packet_len)=0
synchronous 1:1 input to output with history
Definition: sync_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
BLOCKS_API size_t itemsize(vector_type type)
Include this header to use the message passing features.
Definition: basic_block.h:45