User Manual, Developers Guide and API Documentation

wns::ldk::probe::ErrorRate Class Reference

#include <ldk/probe/ErrorRate.hpp>

Inheritance diagram for wns::ldk::probe::ErrorRate:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::probe::ErrorRate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

std::string errorRateProviderName
struct
wns::ldk::probe::ErrorRate::Friends 
friends
logger::Logger logger
wns::probe::bus::ContextCollectorPtr probe

Classes

struct  Friends


Detailed Description

Definition at line 45 of file ErrorRate.hpp.


Constructor & Destructor Documentation

ErrorRate::ErrorRate ( fun::FUN fuNet,
const wns::pyconfig::View config 
)

Definition at line 48 of file ErrorRate.cpp.

ErrorRate::~ErrorRate (  )  [virtual]

Definition at line 63 of file ErrorRate.cpp.


Member Function Documentation

void ErrorRate::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 67 of file ErrorRate.cpp.

void ErrorRate::processIncoming ( const CompoundPtr compound  )  [virtual]

Override this method to handle incoming compounds.

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

Definition at line 84 of file ErrorRate.cpp.

void ErrorRate::processOutgoing ( const CompoundPtr  )  [virtual]

Override this method to handle outgoing compounds.

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

Definition at line 76 of file ErrorRate.cpp.


Member Data Documentation

Definition at line 64 of file ErrorRate.hpp.

Definition at line 70 of file ErrorRate.hpp.

Definition at line 62 of file ErrorRate.hpp.


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

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