Menu

famouso::mw::afp::defrag::NoEventSeqHeaderSupport< DCP > Class Template Reference

Policy: Do not support event sequence number extension header. More...

#include <NoEventSeqHeaderSupport.h>

Public Member Functions

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.

Detailed Description

template<class DCP>
class famouso::mw::afp::defrag::NoEventSeqHeaderSupport< DCP >

Policy: Do not support event sequence number extension header.

Fragments containing an event sequence number header will be dropped. This policy is chosen automatically if SingleEventDemux or MultiSourceDemux is used as demultiplexing policy.

Alternative policies: EventSeqHeaderSupport


Member Function Documentation

template<class DCP >
bool famouso::mw::afp::defrag::NoEventSeqHeaderSupport< DCP >::check ( const uint8_t *  data  )  [inline]

Return whether this header can be found at the beginning of data.

template<class DCP >
bool famouso::mw::afp::defrag::NoEventSeqHeaderSupport< DCP >::occurs (  )  const [inline]

Returns whether this header was read.

template<class DCP >
flen_t famouso::mw::afp::defrag::NoEventSeqHeaderSupport< 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: