User Manual, Developers Guide and API Documentation

wimemac::management::protocolCalculatorPlugins::FrameLength Class Reference

plugin to determine PSDU sizes for different MAC data units More...

#include <management/protocolCalculatorPlugins/FrameLength.hpp>

Collaboration diagram for wimemac::management::protocolCalculatorPlugins::FrameLength:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FrameLength (const wns::pyconfig::View &config)
 Constructor with python config.
Bit getPreamble (std::string pm) const
 returns size of the Preamble
Bit getPSDU (Bit msduFrameSize, int nIBP6S) const
 returns size of the resulting PSDU
Bit pad (Bit msduFrameSize, int nIBP6S) const
 calculates Pad Bits number depending on nIBP6S and msduFrameSize
virtual ~FrameLength ()

Public Attributes

const Bit FCS
const Bit tail


Detailed Description

this class calculates the resulting PSDU length in bits for MSDUs, A-MPDUs, A-MSDUs

Definition at line 45 of file FrameLength.hpp.


Constructor & Destructor Documentation

wimemac::management::protocolCalculatorPlugins::FrameLength::FrameLength ( const wns::pyconfig::View config  ) 

virtual wimemac::management::protocolCalculatorPlugins::FrameLength::~FrameLength (  )  [inline, virtual]

Definition at line 51 of file FrameLength.hpp.


Member Function Documentation

Bit wimemac::management::protocolCalculatorPlugins::FrameLength::getPreamble ( std::string  pm  )  const

Bit wimemac::management::protocolCalculatorPlugins::FrameLength::getPSDU ( Bit  msduFrameSize,
int  nIBP6S 
) const

Bit wimemac::management::protocolCalculatorPlugins::FrameLength::pad ( Bit  msduFrameSize,
int  nIBP6S 
) const


Member Data Documentation

Definition at line 62 of file FrameLength.hpp.

Definition at line 63 of file FrameLength.hpp.


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

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