GNU Radio 3.6.5 C++ API
|
Generates a header for a tagged, streamed packet. More...
#include <packet_headergenerator_bb.h>
Public Types | |
typedef boost::shared_ptr < packet_headergenerator_bb > | sptr |
Static Public Member Functions | |
static sptr | make (const packet_header_default::sptr &header_formatter, const std::string &len_tag_key="packet_len") |
static sptr | make (long header_len, const std::string &len_tag_key="packet_len") |
Generates a header for a tagged, streamed packet.
Input: A tagged stream. This is consumed entirely, it is not appended to the output stream. Output: An tagged stream containing the header. The details on the header are set in a header formatter object (of type packet_header_default or a subclass thereof). If only a number of bits is specified, a default header is generated (see packet_header_default).
static sptr gr::digital::packet_headergenerator_bb::make | ( | const packet_header_default::sptr & | header_formatter, |
const std::string & | len_tag_key = "packet_len" |
||
) | [static] |
static sptr gr::digital::packet_headergenerator_bb::make | ( | long | header_len, |
const std::string & | len_tag_key = "packet_len" |
||
) | [static] |