User Manual, Developers Guide and API Documentation

wimac::ACKSwitch Class Reference

#include <ACKSwitch.hpp>

Inheritance diagram for wimac::ACKSwitch:

Inheritance graph
[legend]
Collaboration diagram for wimac::ACKSwitch:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACKSwitch (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
 Constructor to create an ACKSwitch in a FUN.
void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &compound)
 Mandatory reimplementation from Processor.
void processOutgoing (const wns::ldk::CompoundPtr &compound)
 Process compounds on downlink.

Private Attributes

wns::ldk::arq::ARQarq_
wns::ldk::CommandTypeSpecifier
< wns::ldk::ClassifierCommand > * 
classifier_
service::ConnectionManagerInterfaceconnectionManager_


Detailed Description

Definition at line 78 of file ACKSwitch.hpp.


Constructor & Destructor Documentation

ACKSwitch::ACKSwitch ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

The ACKSwitch does not need any special configuration options in the PyConfig.

Definition at line 53 of file ACKSwitch.cpp.


Member Function Documentation

void ACKSwitch::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 65 of file ACKSwitch.cpp.

void ACKSwitch::processIncoming ( const wns::ldk::CompoundPtr compound  )  [virtual]

Implements wns::ldk::ProcessorInterface.

Definition at line 108 of file ACKSwitch.cpp.

void ACKSwitch::processOutgoing ( const wns::ldk::CompoundPtr  )  [virtual]

Override this method to handle outgoing compounds.

Implements wns::ldk::ProcessorInterface.

Definition at line 79 of file ACKSwitch.cpp.


Member Data Documentation

Definition at line 109 of file ACKSwitch.hpp.

wns::ldk::CommandTypeSpecifier< wns::ldk::ClassifierCommand >* wimac::ACKSwitch::classifier_ [private]

Definition at line 110 of file ACKSwitch.hpp.

Definition at line 111 of file ACKSwitch.hpp.


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

Generated on Wed Feb 8 03:32:47 2012 for openWNS by  doxygen 1.5.5