![]() |
User Manual, Developers Guide and API Documentation |
![]() |
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.

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 |
Definition at line 107 of file Delayed.hpp.
| wns::ldk::Delayed< USER >::Delayed | ( | ) | [inline] |
Definition at line 112 of file Delayed.hpp.
| 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.
| virtual void wns::ldk::Delayed< USER >::doOnData | ( | const CompoundPtr & | compound | ) | [inline, virtual] |
Part of CompoundHandlerInterface implementation.
Definition at line 129 of file Delayed.hpp.
| virtual void wns::ldk::Delayed< USER >::doSendData | ( | const CompoundPtr & | compound | ) | [inline, virtual] |
Part of CompoundHandlerInterface implementation.
Definition at line 119 of file Delayed.hpp.
| virtual void wns::ldk::Delayed< USER >::doWakeup | ( | ) | [inline, private, virtual] |
Part of CompoundHandlerInterface implementation.
Definition at line 178 of file Delayed.hpp.
| 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.
| bool wns::ldk::Delayed< USER >::tryToSendOnce | ( | ) | [inline, private] |
Definition at line 184 of file Delayed.hpp.
bool wns::ldk::Delayed< USER >::inWakeup [private] |
Definition at line 199 of file Delayed.hpp.
1.5.5