parse ULE SNDU Packet More...

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

Inheritance diagram for senf::SNDUPacketParser:

Public Types

typedef UInt16Parser type_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

senf::UIntFieldParser<?,?+15 > length () const
 
UInt16Parser type () const
 
MACAddressParser destination ()
 
bool d_bit ()
 
void withDestination ()
 
void withoutDestination ()
 
UInt32Parser crc ()
 
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<?,?+1 > d_bit_ () const
 
senf::Parse_Variant_Direct< d_bit__t,?,(MACAddressParser)(VoidPacketParser) >::parser destination_ () 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 ULE SNDU Packet

Parser implementing the header and trailer of a ULE SNDU Packet

See also
SNDUPacketType

Definition at line 36 of file SNDUPacket.hh.

Member Typedef Documentation

◆ type_t

Definition at line 45 of file SNDUPacket.hh.

Member Function Documentation

◆ calcCrc()

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

Definition at line 26 of file SNDUPacket.cc.

◆ crc()

UInt32Parser senf::SNDUPacketParser::crc ( )
inline

Definition at line 63 of file SNDUPacket.hh.

◆ d_bit()

bool senf::SNDUPacketParser::d_bit ( )
inline

Definition at line 54 of file SNDUPacket.hh.

◆ d_bit_()

senf::UIntFieldParser<?,?+ 1 > senf::SNDUPacketParser::d_bit_ ( ) const
protected

◆ destination()

MACAddressParser senf::SNDUPacketParser::destination ( )
inline

Definition at line 51 of file SNDUPacket.hh.

◆ destination_()

senf::Parse_Variant_Direct< d_bit__t,?, (MACAddressParser) (VoidPacketParser) >::parser senf::SNDUPacketParser::destination_ ( ) const
protected

◆ length()

senf::UIntFieldParser<?,?+ 15 > senf::SNDUPacketParser::length ( ) const

◆ type()

UInt16Parser senf::SNDUPacketParser::type ( ) const

◆ withDestination()

void senf::SNDUPacketParser::withDestination ( )
inline

Definition at line 57 of file SNDUPacket.hh.

◆ withoutDestination()

void senf::SNDUPacketParser::withoutDestination ( )
inline

Definition at line 60 of file SNDUPacket.hh.


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