11 #ifndef INCLUDED_BLOCKS_STREAM_TO_TAGGED_STREAM_H
12 #define INCLUDED_BLOCKS_STREAM_TO_TAGGED_STREAM_H
36 typedef std::shared_ptr<stream_to_tagged_stream>
sptr;
47 const std::string& len_tag_key);
Converts a regular stream into a tagged stream.
Definition: stream_to_tagged_stream.h:34
virtual void set_packet_len_pmt(unsigned packet_len)=0
static sptr make(size_t itemsize, unsigned int vlen, unsigned packet_len, const std::string &len_tag_key)
virtual void set_packet_len(unsigned packet_len)=0
std::shared_ptr< stream_to_tagged_stream > sptr
Definition: stream_to_tagged_stream.h:36
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29