17 #ifndef HH_SENF_Packets_MPEGDVBBundle_MPESection_ 18 #define HH_SENF_Packets_MPEGDVBBundle_MPESection_ 1 21 #include <boost/crc.hpp> 31 # include SENF_FIXED_PARSER() 51 # include SENF_FIXED_PARSER() 80 section_syntax_indicator() = 1;
81 private_indicator() = 0;
84 payload_scrmbl_ctrl() = 0;
85 addr_scrmbl_ctrl() = 0;
86 curr_next_indicator() = 1;
90 boost::uint32_t calcCrc()
const;
95 typedef boost::crc_optimal<32, 0x04C11DB7, 0xFFFFFFFF, 0, false, false> crc32_t;
118 using mixin::nextPacketRange;
122 static void dump(packet p, std::ostream & os);
124 static void finalize(packet p);
126 static factory_t nextPacketType(packet p);
ConcretePacket< MPESectionType > packet
MPESection packet typedef.
senf::FlagParser<?> frame_boundary() const
PacketTypeMixin< MPESectionType > mixin
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
Mixin to provide standard implementations for nextPacketRange and nextPacketType. ...
Parse 8bit unsigned byte aligned integer.
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
senf::UIntFieldParser<?,?+12 > delta_t() const
MPESectionParser parser
typedef to the parser of MPESection
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
#define SENF_PARSER_INIT()
Define parser initialization routine.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
detail::packet::size_type size_type
Unsigned integral type.
senf::FlagParser<?> table_boundary() const
senf::UIntFieldParser<?,?+18 > address() const
size_type size() const
Returns the number of bytes in the packet data.
PacketData & data() const
Access the packets raw data container.
Parse 32bit unsigned byte aligned integer.
PacketInterpreterBase::factory_t factory_t
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
ConcretePacket< MPESectionType > MPESection
MPESection packet typedef.