Menu

famouso::mw::afp::DefragmentationStep< Disable > Class Template Reference

Empty version of DefragmentationStep for disabling defragmentation in the ANL. More...

#include <Defragmentation.h>

Public Member Functions

template<class ST >
 DefragmentationStep (const uint8_t *fdata, flen_t flength, const ST &subject)
 Construct object and read header.
 DefragmentationStep (const uint8_t *fdata, flen_t flength)
 Construct object and read header.
bool error () const
 Return whether an error occured while reading header.
bool event_complete () const
 Returns whether an event is complete after fragment has been processed.
uint8_t * get_event_data () const
 Returns pointer to event data or NULL if event is not complete yet.
elen_t get_event_length () const
 Returns length of the event.

Detailed Description

template<>
class famouso::mw::afp::DefragmentationStep< Disable >

Empty version of DefragmentationStep for disabling defragmentation in the ANL.


Constructor & Destructor Documentation

template<class ST >
famouso::mw::afp::DefragmentationStep< Disable >::DefragmentationStep ( const uint8_t *  fdata,
flen_t  flength,
const ST &  subject 
) [inline]

Construct object and read header.

Use this constructor for multiple subject configurations. If you use this constructor for one subject configurations, the subject parameter will be ignored.

famouso::mw::afp::DefragmentationStep< Disable >::DefragmentationStep ( const uint8_t *  fdata,
flen_t  flength 
) [inline]

Construct object and read header.

Use this constructor for one subject configurations


Member Function Documentation

bool famouso::mw::afp::DefragmentationStep< Disable >::error (  )  const [inline]

Return whether an error occured while reading header.

DefragmentationProcessor::process() checks this as well. You needn't call this if you are not interested whether an error occured or not.

bool famouso::mw::afp::DefragmentationStep< Disable >::event_complete (  )  const [inline]

Returns whether an event is complete after fragment has been processed.

uint8_t* famouso::mw::afp::DefragmentationStep< Disable >::get_event_data (  )  const [inline]

Returns pointer to event data or NULL if event is not complete yet.

elen_t famouso::mw::afp::DefragmentationStep< Disable >::get_event_length (  )  const [inline]

Returns length of the event.


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