User Manual, Developers Guide and API Documentation

wns::ldk::tools::Compressor Class Reference

The Compressor reduces the size of the packet. More...

#include <ldk/tools/Compressor.hpp>

Inheritance diagram for wns::ldk::tools::Compressor:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::tools::Compressor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void calculateSizes (const CommandPool *commandPool, Bit &commandPoolSize, Bit &dataSize) const
 Compressor (fun::FUN *, const wns::pyconfig::View &config)
bool doIsAccepting (const CompoundPtr &compound) const
void doOnData (const CompoundPtr &compound)
void doSendData (const CompoundPtr &compound)
void doWakeup ()

Private Attributes

Bit reduction_


Detailed Description

The Compessor reduces the size of the payload data. The amount of size reduction is given in Bits by the reduction parameter. Use this FU to model Payload Header Suppression (PHS).

Definition at line 46 of file Compressor.hpp.


Constructor & Destructor Documentation

Compressor::Compressor ( fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 38 of file Compressor.cpp.


Member Function Documentation

void Compressor::calculateSizes ( const CommandPool commandPool,
Bit commandPoolSize,
Bit dataSize 
) const [virtual]

Definition at line 44 of file Compressor.cpp.

bool Compressor::doIsAccepting ( const CompoundPtr compound  )  const

Definition at line 68 of file Compressor.cpp.

void Compressor::doOnData ( const CompoundPtr compound  ) 

Definition at line 62 of file Compressor.cpp.

void Compressor::doSendData ( const CompoundPtr compound  ) 

Definition at line 55 of file Compressor.cpp.

void Compressor::doWakeup (  ) 

Definition at line 76 of file Compressor.cpp.


Member Data Documentation

Definition at line 67 of file Compressor.hpp.


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

Generated on Sat May 26 03:32:57 2012 for openWNS by  doxygen 1.5.5