User Manual, Developers Guide and API Documentation

wifimac::convergence::TxDurationSetter Class Reference

Sets the transmission duration in any outgoing compound. More...

#include <convergence/TxDurationSetter.hpp>

Inheritance diagram for wifimac::convergence::TxDurationSetter:

Inheritance graph
[legend]
Collaboration diagram for wifimac::convergence::TxDurationSetter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TxDurationSetter (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual ~TxDurationSetter ()

Private Member Functions

void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &compound)
 Processor Interface.
void processOutgoing (const wns::ldk::CompoundPtr &compound)
 Process compounds on downlink.

Private Attributes

struct
wifimac::convergence::TxDurationSetter::Friends 
friends
wns::logger::Logger logger
const std::string managerName
wifimac::management::ProtocolCalculatorprotocolCalculator
const std::string protocolCalculatorName

Classes

struct  Friends


Detailed Description

Works for both preambles and PSDUs.

Definition at line 72 of file TxDurationSetter.hpp.


Constructor & Destructor Documentation

TxDurationSetter::TxDurationSetter ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 42 of file TxDurationSetter.cpp.

TxDurationSetter::~TxDurationSetter (  )  [virtual]

Definition at line 57 of file TxDurationSetter.cpp.


Member Function Documentation

void TxDurationSetter::onFUNCreated (  )  [private, virtual]

Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".

The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.

Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.

When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.

Reimplemented from wns::ldk::FunctionalUnit.

Definition at line 61 of file TxDurationSetter.cpp.

void TxDurationSetter::processIncoming ( const wns::ldk::CompoundPtr compound  )  [private, virtual]

Implements wns::ldk::ProcessorInterface.

Definition at line 70 of file TxDurationSetter.cpp.

void TxDurationSetter::processOutgoing ( const wns::ldk::CompoundPtr  )  [private, virtual]

Override this method to handle outgoing compounds.

Implements wns::ldk::ProcessorInterface.

Definition at line 76 of file TxDurationSetter.cpp.


Member Data Documentation

Definition at line 92 of file TxDurationSetter.hpp.

Definition at line 91 of file TxDurationSetter.hpp.

Definition at line 93 of file TxDurationSetter.hpp.

Definition at line 90 of file TxDurationSetter.hpp.


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

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