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


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::ARQ * | arq_ |
| wns::ldk::CommandTypeSpecifier < wns::ldk::ClassifierCommand > * | classifier_ |
| service::ConnectionManagerInterface * | connectionManager_ |
Definition at line 78 of file ACKSwitch.hpp.
| 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.
| 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] |
| 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.
wns::ldk::arq::ARQ* wimac::ACKSwitch::arq_ [private] |
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.
1.5.5