User Manual, Developers Guide and API Documentation

wimac::relay::SSRelayMapper Class Reference

#include <relay/RelayMapper.hpp>

Inheritance diagram for wimac::relay::SSRelayMapper:

Inheritance graph
[legend]
Collaboration diagram for wimac::relay::SSRelayMapper:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &)
 Mandatory reimplementation from Processor.
void processOutgoing (const wns::ldk::CompoundPtr &)
 Mandatory reimplementation from Processor.
 SSRelayMapper (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)


Detailed Description

Definition at line 190 of file RelayMapper.hpp.


Constructor & Destructor Documentation

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

Definition at line 203 of file RelayMapper.cpp.


Member Function Documentation

void wimac::relay::SSRelayMapper::onFUNCreated (  )  [inline, 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 201 of file RelayMapper.hpp.

void wimac::relay::SSRelayMapper::processIncoming ( const wns::ldk::CompoundPtr  )  [inline, virtual]

Implements wns::ldk::ProcessorInterface.

Definition at line 206 of file RelayMapper.hpp.

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

Implements wns::ldk::ProcessorInterface.

Definition at line 207 of file RelayMapper.cpp.


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

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