22 #ifndef INCLUDED_DIGITAL_PACKET_HEADER_DEFAULT_H
23 #define INCLUDED_DIGITAL_PACKET_HEADER_DEFAULT_H
27 #include <boost/enable_shared_from_this.hpp>
28 #include <boost/crc.hpp>
56 const std::string &len_tag_key=
"packet_len",
57 const std::string &num_tag_key=
"packet_num",
83 virtual bool header_formatter(
86 const std::vector<tag_t> &tags=std::vector<tag_t>()
94 virtual bool header_parser(
95 const unsigned char *header,
96 std::vector<tag_t> &tags);
100 const std::string &len_tag_key=
"packet_len",
101 const std::string &num_tag_key=
"packet_num",
102 int bits_per_byte=1);
111 boost::crc_optimal<8, 0x07, 0xFF, 0x00, false, false>
d_crc_impl;
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
boost::intrusive_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:56