Menu

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

Policy: Reconstruct event data from fragments supporting forward error correction. More...

#include <FECEventDataReconstructor.h>

Inheritance diagram for famouso::mw::afp::defrag::FECEventDataReconstructor< DCP >:
famouso::mw::afp::defrag::OutOfOrderEventDataReconstructor< DCP >

Public Types

typedef FECHeaderSupport< DCP > FECHeaderPolicy

Public Member Functions

 FECEventDataReconstructor (flen_t no_ext_mtu)
 Constructor.
 ~FECEventDataReconstructor ()
 Destructor.
void put_fragment (const Headers< DCP > &header, const uint8_t *data, flen_t length)
 Process new fragment.
bool is_complete ()
 Returns whether the event can be reconstructed completely.
uint8_t * get_data ()
 Returns the defragmented data block.
elen_t get_length ()
 Returns the length of the event's data.

Detailed Description

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

Policy: Reconstruct event data from fragments supporting forward error correction.

Currently not supported on AVR platform.

Using this policy automatically selects FECHeaderSupport as FEC header policy.

Alternative policies: OutOfOrderEventDataReconstructor, InOrderEventDataReconstructor


Member Typedef Documentation


Constructor & Destructor Documentation

template<class DCP >
famouso::mw::afp::defrag::FECEventDataReconstructor< DCP >::FECEventDataReconstructor ( flen_t  no_ext_mtu  )  [inline]

Constructor.

Parameters:
no_ext_mtu MTU minus extension header's length

Member Function Documentation

template<class DCP >
void famouso::mw::afp::defrag::FECEventDataReconstructor< DCP >::put_fragment ( const Headers< DCP > &  header,
const uint8_t *  data,
flen_t  length 
) [inline]

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