23#ifndef INCLUDED_BLOCKS_TAGGED_STREAM_TO_PDU_H
24#define INCLUDED_BLOCKS_TAGGED_STREAM_TO_PDU_H
46 typedef boost::shared_ptr<tagged_stream_to_pdu>
sptr;
55 const std::string& lengthtagname =
"packet_len");
Turns received stream data and tags into PDUs and sends them through a message port.
Definition: tagged_stream_to_pdu.h:43
boost::shared_ptr< tagged_stream_to_pdu > sptr
Definition: tagged_stream_to_pdu.h:46
static sptr make(pdu::vector_type type, const std::string &lengthtagname="packet_len")
Construct a tagged_stream_to_pdu block.
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
vector_type
Definition: pdu.h:34
Include this header to use the message passing features.
Definition: basic_block.h:45