![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <ldk/tools/ConstantDelay.hpp>


Public Member Functions | |
| ConstantDelay (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config) | |
| Constructor. | |
| virtual wns::ldk::CompoundPtr | getSomethingToSend () |
| Returns the saved compound. | |
| virtual bool | hasCapacity () const |
| Checks if a compound is saved. | |
| virtual const wns::ldk::CompoundPtr | hasSomethingToSend () const |
| Checks delay has passed & a compound is saved. | |
| virtual void | onTimeout () |
| CanTimeout interface realisation: TryToSend. | |
| virtual void | processIncoming (const wns::ldk::CompoundPtr &compound) |
| process incoming frames: Forward | |
| virtual void | processOutgoing (const wns::ldk::CompoundPtr &compound) |
| process ougoing frames: Save & start delay | |
Private Attributes | |
| wns::ldk::CompoundPtr | currentFrame |
| Storage of one frame. | |
| const wns::simulator::Time | delay |
| Duration to delay frames. | |
| wns::logger::Logger | logger |
Definition at line 44 of file ConstantDelay.hpp.
| ConstantDelay::ConstantDelay | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 38 of file ConstantDelay.cpp.
| wns::ldk::CompoundPtr ConstantDelay::getSomethingToSend | ( | ) | [virtual] |
| bool ConstantDelay::hasCapacity | ( | ) | const [virtual] |
| const wns::ldk::CompoundPtr ConstantDelay::hasSomethingToSend | ( | ) | const [virtual] |
| void ConstantDelay::onTimeout | ( | ) | [virtual] |
| void ConstantDelay::processIncoming | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
| void ConstantDelay::processOutgoing | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Definition at line 81 of file ConstantDelay.hpp.
const wns::simulator::Time wns::ldk::tools::ConstantDelay::delay [private] |
Definition at line 84 of file ConstantDelay.hpp.
Definition at line 86 of file ConstantDelay.hpp.
1.5.5