Parse a MPE Section. More...

#include <senf/Packets/MPEGDVBBundle/MPESection.hh>

Inheritance diagram for senf::MPESectionParser:

Public Types

typedef UInt8Parser table_id_t
 
typedef UInt8Parser mac_addr_6_t
 
typedef UInt8Parser mac_addr_5_t
 
typedef UInt8Parser section_num_t
 
typedef UInt8Parser last_section_num_t
 
typedef MPERealTimeParametersParser real_time_parameters_t
 
- Public Types inherited from senf::PacketParserBase
typedef detail::packet::iterator data_iterator
 Raw data iterator type. More...
 
typedef detail::packet::size_type size_type
 Unsigned integral type. More...
 
typedef detail::packet::difference_type difference_type
 Signed integral type. More...
 
typedef detail::packet::byte byte
 Unsigned 8bit value, the raw value type. More...
 
typedef PacketDatastate_type
 Type of the 'state' parameter. More...
 
typedef PacketParserBase parser_base_type
 Base type of the next parser. More...
 

Public Member Functions

UInt8Parser table_id () const
 
senf::FlagParser<?> section_syntax_indicator () const
 
senf::FlagParser<?> private_indicator () const
 
senf::UIntFieldParser<?,?+12 > section_length () const
 
UInt8Parser mac_addr_6 () const
 
UInt8Parser mac_addr_5 () const
 
senf::UIntFieldParser<?,?+2 > payload_scrmbl_ctrl () const
 
senf::UIntFieldParser<?,?+2 > addr_scrmbl_ctrl () const
 
senf::FlagParser<?> llc_snap_flag () const
 
senf::FlagParser<?> curr_next_indicator () const
 
UInt8Parser section_num () const
 
UInt8Parser last_section_num () const
 
MPERealTimeParametersParser real_time_parameters () const
 
void init ()
 
UInt32Parser crc () const
 
boost::uint32_t calcCrc () const
 
- Public Member Functions inherited from senf::PacketParserBase
data_iterator i () const
 Return beginning of data to parse. More...
 
data_iterator i (size_type offset) const
 Return iterator offset bytes from the start. More...
 
state_type state () const
 Return state of this parser. More...
 
PacketDatadata () const
 Access the packets raw data container. More...
 
void init () const
 Default implementation. More...
 

Protected Member Functions

senf::UIntFieldParser<?,?+2 > reserved_1 () const
 
senf::UIntFieldParser<?,?+2 > reserved_2 () const
 
senf::UIntFieldParser<?,?+4 > ip_datagram_version () const
 
- Protected Member Functions inherited from senf::PacketParserBase
ParserProtector protect () const
 
 PacketParserBase (data_iterator i, state_type s)
 Standard constructor. More...
 
 PacketParserBase (data_iterator i, state_type s, size_type size)
 Size checking constructor. More...
 
bool check (size_type size) const
 Check size of data container. More...
 
void validate (size_type size) const
 Validate size of data container. More...
 
template<class Parser >
Parser parse (data_iterator i) const
 Create sub-parser. More...
 
template<class Parser , class Arg >
Parser parse (Arg const &arg, data_iterator i) const
 Create sub-parser. More...
 
template<class Parser >
Parser parse (size_type n) const
 Create sub-parser. More...
 
template<class Parser , class Arg >
Parser parse (Arg const &arg, size_type n) const
 Create sub-parser. More...
 
void defaultInit () const
 Default implementation. More...
 
Packet packet () const
 Get packet this parser is parsing from. More...
 
void resize (size_type oldSize, size_type newSize)
 Resize data container. More...
 

Detailed Description

Parse a MPE Section.

Parser implementing the header of a MPE Section

See also
MPESectionType

Definition at line 48 of file MPESection.hh.

Member Typedef Documentation

◆ last_section_num_t

◆ mac_addr_5_t

◆ mac_addr_6_t

◆ real_time_parameters_t

◆ section_num_t

◆ table_id_t

Definition at line 53 of file MPESection.hh.

Member Function Documentation

◆ addr_scrmbl_ctrl()

senf::UIntFieldParser<?,?+ 2 > senf::MPESectionParser::addr_scrmbl_ctrl ( ) const

◆ calcCrc()

boost::uint32_t senf::MPESectionParser::calcCrc ( ) const

Definition at line 32 of file MPESection.cc.

◆ crc()

UInt32Parser senf::MPESectionParser::crc ( ) const
inline

Definition at line 89 of file MPESection.hh.

◆ curr_next_indicator()

senf::FlagParser<?> senf::MPESectionParser::curr_next_indicator ( ) const

◆ init()

void senf::MPESectionParser::init ( )
inline

Definition at line 78 of file MPESection.hh.

◆ ip_datagram_version()

senf::UIntFieldParser<?,?+ 4 > senf::MPESectionParser::ip_datagram_version ( ) const
protected

◆ last_section_num()

UInt8Parser senf::MPESectionParser::last_section_num ( ) const

◆ llc_snap_flag()

senf::FlagParser<?> senf::MPESectionParser::llc_snap_flag ( ) const

◆ mac_addr_5()

UInt8Parser senf::MPESectionParser::mac_addr_5 ( ) const

◆ mac_addr_6()

UInt8Parser senf::MPESectionParser::mac_addr_6 ( ) const

◆ payload_scrmbl_ctrl()

senf::UIntFieldParser<?,?+ 2 > senf::MPESectionParser::payload_scrmbl_ctrl ( ) const

◆ private_indicator()

senf::FlagParser<?> senf::MPESectionParser::private_indicator ( ) const

◆ real_time_parameters()

MPERealTimeParametersParser senf::MPESectionParser::real_time_parameters ( ) const

◆ reserved_1()

senf::UIntFieldParser<?,?+ 2 > senf::MPESectionParser::reserved_1 ( ) const
protected

◆ reserved_2()

senf::UIntFieldParser<?,?+ 2 > senf::MPESectionParser::reserved_2 ( ) const
protected

◆ section_length()

senf::UIntFieldParser<?,?+ 12 > senf::MPESectionParser::section_length ( ) const

◆ section_num()

UInt8Parser senf::MPESectionParser::section_num ( ) const

◆ section_syntax_indicator()

senf::FlagParser<?> senf::MPESectionParser::section_syntax_indicator ( ) const

◆ table_id()

UInt8Parser senf::MPESectionParser::table_id ( ) const

The documentation for this class was generated from the following files: