User Manual, Developers Guide and API Documentation

wns::ldk::Connector Class Reference
[HasConnector Interface]

Connector scheduling strategy interface.

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

#include <ldk/Connector.hpp>

Inheritance diagram for wns::ldk::Connector:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual IConnectorReceptaclegetAcceptor (const CompoundPtr &compound)=0
 Return the FU willing to accept the given compound.
virtual bool hasAcceptor (const CompoundPtr &compound)=0
 Return true if there is a FU in the connector set willing to accept the given compound.
virtual ~Connector ()


Detailed Description

Connector is an abstract base class describing the interface required for the implementation of strategies to select a FU to deliver a given compound to in the outgoing data flow. A FU does not select a FU for compound delivery in the outgoing data flow directly. Instead it delegates the choice to its Connector strategy. Besides the strategy for FU selection, the Connector holds the set of FUs the FU is connected to in the direction of outgoing data flows.

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

Definition at line 58 of file Connector.hpp.


Constructor & Destructor Documentation

virtual wns::ldk::Connector::~Connector (  )  [inline, virtual]

Definition at line 62 of file Connector.hpp.


Member Function Documentation

virtual IConnectorReceptacle* wns::ldk::Connector::getAcceptor ( const CompoundPtr compound  )  [pure virtual]

Return an accepting FU. This may only be called after a call to hasAcceptor returning true. Always send a Compound using doSendData to the FU retrieved using getAcceptor.

Implemented in wns::ldk::FirstServeConnector, wns::ldk::RoundRobinConnector, wns::ldk::SingleConnector, dll::compoundSwitch::CompoundSwitchConnector, lte::helper::SwitchConnector, lte::macg::MACgSchedulerBS, and lte::macg::MACgSchedulerUT.

virtual bool wns::ldk::Connector::hasAcceptor ( const CompoundPtr compound  )  [pure virtual]


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

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