famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP > Class Template Reference
Policy: Support event sequence number extension header. More...
#include <EventSeqHeaderSupport.h>
Public Member Functions | |
EventSeqHeaderSupport () | |
Constructor. | |
bool | check (const uint8_t *data) |
Return whether this header can be found at the beginning of data. | |
flen_t | read_header (const uint8_t *data) |
Read header from the beginning of data. | |
bool | occurs () const |
Returns whether this header was read. | |
uint32_t | get_eseq () const |
Returns the event seqence number read from the header. |
Detailed Description
template<class DCP>
class famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >
Policy: Support event sequence number extension header.
This policy is chosen automatically if EventSeqDemux is used as demultiplexing policy.
Alternatice policies: NoEventSeqHeaderSupport
Constructor & Destructor Documentation
template<class DCP >
famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >::EventSeqHeaderSupport | ( | ) | [inline] |
Constructor.
Member Function Documentation
template<class DCP >
bool famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >::check | ( | const uint8_t * | data | ) | [inline] |
Return whether this header can be found at the beginning of data.
template<class DCP >
uint32_t famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >::get_eseq | ( | ) | const [inline] |
Returns the event seqence number read from the header.
Should be only called if occured() returns true.
template<class DCP >
bool famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >::occurs | ( | ) | const [inline] |
Returns whether this header was read.
template<class DCP >
flen_t famouso::mw::afp::defrag::EventSeqHeaderSupport< DCP >::read_header | ( | const uint8_t * | data | ) | [inline] |
Read header from the beginning of data.
- Returns:
- Length of the header. Zero on error.
The documentation for this class was generated from the following file:
- include/mw/afp/defrag/EventSeqHeaderSupport.h