User Manual, Developers Guide and API Documentation

wns::ldk::Delayed< USER > Class Template Reference
[Compound Handler Interface]

Adapter implementing the CompoundHandlerInterface for functional units that have memory.

For documentation see DelayedInterface.

#include <ldk/Delayed.hpp>

Inherits wns::ldk::FunctionalUnit, and wns::ldk::DelayedInterface.

Inherited by ip::Forwarding, wifimac::convergence::PreambleGenerator, wifimac::draftn::BlockACK, wifimac::draftn::DeAggregation, wifimac::draftn::LongTrainingFieldGenerator, wifimac::draftn::RTSCTSwithFLA, wifimac::lowerMAC::Buffer, wifimac::management::Beacon, wimemac::convergence::PreambleGenerator, wns::ldk::arq::CumulativeACK, wns::ldk::arq::GoBackN, wns::ldk::arq::None, wns::ldk::arq::SelectiveRepeat, wns::ldk::arq::StopAndWait, wns::ldk::buffer::Dropping, wns::ldk::command::FlowControl, wns::ldk::concatenation::Concatenation, wns::ldk::harq::HARQFU, wns::ldk::sar::Fixed, wns::ldk::sar::SegAndConcat [virtual], wns::ldk::sar::Soft, wns::ldk::tools::ConstantDelay, and wns::ldk::tools::Synchronizer.

Collaboration diagram for wns::ldk::Delayed< USER >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Delayed ()
virtual void doOnData (const CompoundPtr &compound)
virtual void doSendData (const CompoundPtr &compound)

Protected Member Functions

virtual bool doIsAccepting (const CompoundPtr &) const
void tryToSend ()
 Try to send a single PDU.

Private Member Functions

virtual void doWakeup ()
bool tryToSendOnce ()

Private Attributes

bool inWakeup


Detailed Description

template<typename USER>
class wns::ldk::Delayed< USER >

Definition at line 107 of file Delayed.hpp.


Constructor & Destructor Documentation

template<typename USER>
wns::ldk::Delayed< USER >::Delayed (  )  [inline]

Definition at line 112 of file Delayed.hpp.


Member Function Documentation

template<typename USER>
virtual bool wns::ldk::Delayed< USER >::doIsAccepting ( const CompoundPtr  )  const [inline, protected, virtual]

Part of CompoundHandlerInterface implementation.

Reimplemented in wifimac::draftn::BlockACK.

Definition at line 165 of file Delayed.hpp.

template<typename USER>
virtual void wns::ldk::Delayed< USER >::doOnData ( const CompoundPtr compound  )  [inline, virtual]

Part of CompoundHandlerInterface implementation.

Definition at line 129 of file Delayed.hpp.

template<typename USER>
virtual void wns::ldk::Delayed< USER >::doSendData ( const CompoundPtr compound  )  [inline, virtual]

Part of CompoundHandlerInterface implementation.

Definition at line 119 of file Delayed.hpp.

template<typename USER>
virtual void wns::ldk::Delayed< USER >::doWakeup (  )  [inline, private, virtual]

Part of CompoundHandlerInterface implementation.

Definition at line 178 of file Delayed.hpp.

template<typename USER>
void wns::ldk::Delayed< USER >::tryToSend (  )  [inline, protected]

Use this method if the FunctionalUnit changes state spontanteously. That is, if it may have compounds ready to send while not in processIncoming/processOutgoing.
For example functional units that send compounds after a timeout have to inform the Delayed implementation that they are to be queried again for compounds to be sent.

Definition at line 147 of file Delayed.hpp.

template<typename USER>
bool wns::ldk::Delayed< USER >::tryToSendOnce (  )  [inline, private]

Definition at line 184 of file Delayed.hpp.


Member Data Documentation

template<typename USER>
bool wns::ldk::Delayed< USER >::inWakeup [private]

Definition at line 199 of file Delayed.hpp.


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

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