User Manual, Developers Guide and API Documentation

wimac::ErrorModelling Class Reference

ErrorModelling implementation of the FU. More...

#include <ErrorModelling.hpp>

Inheritance diagram for wimac::ErrorModelling:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ErrorModelling (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual void onFUNCreated ()
 Resolve inter-FU dependencies.
virtual void processIncoming (const wns::ldk::CompoundPtr &componud)
 Process compounds on uplink.
virtual void processOutgoing (const wns::ldk::CompoundPtr &componud)
 Process compounds on downlink.

Private Attributes

std::string CIRProviderName_
struct
wimac::ErrorModelling::Friends 
friends
std::string PHYModeProviderName_

Classes

struct  Friends


Detailed Description

It maps the SINR for a PhyMode to the Packet Error Rate (PER)

Definition at line 79 of file ErrorModelling.hpp.


Constructor & Destructor Documentation

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

Definition at line 44 of file ErrorModelling.cpp.


Member Function Documentation

void ErrorModelling::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 86 of file ErrorModelling.cpp.

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

Override this method to handle incoming compounds.

Reimplemented from wns::ldk::Forwarding< USER >.

Definition at line 63 of file ErrorModelling.cpp.

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

Override this method to handle outgoing compounds.

Reimplemented from wns::ldk::Forwarding< USER >.

Definition at line 54 of file ErrorModelling.cpp.


Member Data Documentation

Definition at line 98 of file ErrorModelling.hpp.

Definition at line 99 of file ErrorModelling.hpp.


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

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