User Manual, Developers Guide and API Documentation

wimemac::convergence::ErrorModelling Class Reference

ErrorModelling implementation of the FU. More...

#include <convergence/ErrorModelling.hpp>

Inheritance diagram for wimemac::convergence::ErrorModelling:

Inheritance graph
[legend]
Collaboration diagram for wimemac::convergence::ErrorModelling:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ErrorModelling (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
double getErrorRateForCommandFrames (wns::Ratio sinr_, Bit maxCompoundSize_)
 returns the the PER for command frames with given compound size
wimemac::convergence::MCS getMaxPosMCS (wns::Ratio sinr_, Bit maxCompoundSize_, double per_)
 returns the maximum possible phymode for the given SINR, compoundsize and wanted PER
void onFUNCreated ()
 Resolve inter-FU dependencies.
void processIncoming (const wns::ldk::CompoundPtr &compound)
 Processor Interface Implementation.
void processOutgoing (const wns::ldk::CompoundPtr &compound)
 Process compounds on downlink.

Private Types

typedef
wns::container::RangeMap
< float, float > 
SNR2PmeanMap
typedef
wns::container::Registry
< wimemac::convergence::MCS,
SNR2PmeanMap * > 
SNR2PmeanRegistry

Private Attributes

wns::pyconfig::View config
wns::distribution::StandardUniform dis
 CRC functionality.
struct
wimemac::convergence::ErrorModelling::Friends 
friends
wns::container::Registry
< wns::service::dll::UnicastAddress,
bool
lastPreambleWasDecoded
wns::logger::Logger logger
wns::probe::bus::ContextCollectorPtr lossRatio
const std::string managerCommandName
const std::string managerName
wns::probe::bus::ContextCollectorPtr perProbe_
 Probe Front-ends.
const std::string phyUserCommandName
const std::string phyUserName
SNR2PmeanMap snr2pmean_100_
SNR2PmeanMap snr2pmean_150_
SNR2PmeanMap snr2pmean_200_
SNR2PmeanMap snr2pmean_300_
SNR2PmeanMap snr2pmean_375_
SNR2PmeanMap snr2pmean_600_
SNR2PmeanMap snr2pmean_750_
SNR2PmeanMap snr2pmean_900_
SNR2PmeanRegistry snr2pmeanReg_

Classes

struct  Friends


Detailed Description

It maps the Carry Interference Ratio (CIR) for a PhyMode to the Symbol Error Rate (SER) and calculate the Packet Error Rate (PER).

Definition at line 107 of file ErrorModelling.hpp.


Member Typedef Documentation

Definition at line 134 of file ErrorModelling.hpp.

Definition at line 144 of file ErrorModelling.hpp.


Constructor & Destructor Documentation

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


Member Function Documentation

double wimemac::convergence::ErrorModelling::getErrorRateForCommandFrames ( wns::Ratio  sinr_,
Bit  maxCompoundSize_ 
)

wimemac::convergence::MCS wimemac::convergence::ErrorModelling::getMaxPosMCS ( wns::Ratio  sinr_,
Bit  maxCompoundSize_,
double  per_ 
)

void wimemac::convergence::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.

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

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

Override this method to handle outgoing compounds.

Implements wns::ldk::ProcessorInterface.


Member Data Documentation

Definition at line 147 of file ErrorModelling.hpp.

Definition at line 155 of file ErrorModelling.hpp.

Definition at line 156 of file ErrorModelling.hpp.

Definition at line 148 of file ErrorModelling.hpp.

Definition at line 158 of file ErrorModelling.hpp.

Definition at line 151 of file ErrorModelling.hpp.

Definition at line 152 of file ErrorModelling.hpp.

Definition at line 132 of file ErrorModelling.hpp.

Definition at line 149 of file ErrorModelling.hpp.

Definition at line 150 of file ErrorModelling.hpp.

Definition at line 135 of file ErrorModelling.hpp.

Definition at line 136 of file ErrorModelling.hpp.

Definition at line 137 of file ErrorModelling.hpp.

Definition at line 138 of file ErrorModelling.hpp.

Definition at line 139 of file ErrorModelling.hpp.

Definition at line 140 of file ErrorModelling.hpp.

Definition at line 141 of file ErrorModelling.hpp.

Definition at line 142 of file ErrorModelling.hpp.

Definition at line 145 of file ErrorModelling.hpp.


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

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