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


Public Member Functions | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| Stutter (fun::FUN *fuNet, const pyconfig::View &) | |
Private Member Functions | |
| void | periodically () |
| Your callback. Implement this! | |
Private Attributes | |
| bool | close |
| wns::pyconfig::View | config |
| struct wns::ldk::tools::Stutter::_friends | friends |
| logger::Logger | logger |
Classes | |
| struct | _friends |
Definition at line 52 of file Stutter.hpp.
| Stutter::Stutter | ( | fun::FUN * | fuNet, | |
| const pyconfig::View & | _config | |||
| ) |
Definition at line 35 of file Stutter.cpp.
| void Stutter::onFUNCreated | ( | ) | [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 56 of file Stutter.cpp.
| void Stutter::periodically | ( | ) | [private, virtual] |
The deriver is forced to implement this method. It gets called periodically, whenever the timer fires.
Implements wns::events::PeriodicTimeout.
Definition at line 63 of file Stutter.cpp.
bool wns::ldk::tools::Stutter::close [private] |
Definition at line 73 of file Stutter.hpp.
Definition at line 75 of file Stutter.hpp.
struct wns::ldk::tools::Stutter::_friends wns::ldk::tools::Stutter::friends [private] |
Definition at line 74 of file Stutter.hpp.
1.5.5