User Manual, Developers Guide and API Documentation

wns::ldk::tools::Stutter Class Reference

Plain forwarding. More...

#include <ldk/tools/Stutter.hpp>

Inheritance diagram for wns::ldk::tools::Stutter:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::tools::Stutter:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

No delay, no mutation, no buffering. Plain forwarding.
Use this FunctionalUnit as placeholder.

Definition at line 52 of file Stutter.hpp.


Constructor & Destructor Documentation

Stutter::Stutter ( fun::FUN fuNet,
const pyconfig::View _config 
)

Definition at line 35 of file Stutter.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 73 of file Stutter.hpp.

Definition at line 75 of file Stutter.hpp.

Definition at line 74 of file Stutter.hpp.


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

Generated on Sun May 27 03:33:00 2012 for openWNS by  doxygen 1.5.5