User Manual, Developers Guide and API Documentation

wns::ldk::RoundRobinReceptor Class Reference

Receptor scheduling strategy implementation.

Receptor is one of the 5 aspects of a FU (see The 5 aspects of a FunctionalUnit.)
. More...

#include <ldk/RoundRobinReceptor.hpp>

Inheritance diagram for wns::ldk::RoundRobinReceptor:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::RoundRobinReceptor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void wakeup ()
 Invoke the wakeup strategy.


Detailed Description

RoundRobinReceptor is a strategy to wake up FUs during compound delivery in the outgoing data flow. A FU does not call the wakeup method of upper FUs directly. Instead it delegates the task to its Receptor strategy. Besides the strategy for FU selection, the Receptor holds the set of FUs the FU is connected to from above for outgoing data flows.

In combination with the Connector, Receptor implements the inter-FU flow control. Given a FU A having FU B in its connector set. FU B alwas has FU in its receptor set (see wns::ldk::Connector.)

Definition at line 57 of file RoundRobinReceptor.hpp.


Member Function Documentation

void RoundRobinReceptor::wakeup (  )  [virtual]

Thisimplementation wakes all FUs in the receptor set up using a round robin strategy.

Implements wns::ldk::Receptor.

Definition at line 34 of file RoundRobinReceptor.cpp.


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

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