User Manual, Developers Guide and API Documentation

wns::ldk::arq::statuscollector::TwoSizesWindowed Class Reference

ARQStatusCollector which uses a sliding window for the statistics calculation. Additionally, packets are sorted into two bins according to their size (big and small).

#include <ldk/arq/statuscollector/TwoSizesWindowed.hpp>

Inheritance diagram for wns::ldk::arq::statuscollector::TwoSizesWindowed:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::arq::statuscollector::TwoSizesWindowed:

Collaboration graph
[legend]

List of all members.

Public Member Functions

double getSuccessRate (const CompoundPtr &compound)
void onFailedTransmission (const CompoundPtr &compound)
void onSuccessfullTransmission (const CompoundPtr &compound)
void reset ()
 TwoSizesWindowed (const wns::pyconfig::View &config)
 ~TwoSizesWindowed ()

Private Attributes

wns::SlidingWindowbigFrames
Bit frameSizeThreshold
double insufficientSamplesReturn
wns::logger::Logger logger
int minSamples
wns::SlidingWindowsmallFrames
wns::simulator::Time windowSize


Detailed Description

Definition at line 47 of file TwoSizesWindowed.hpp.


Constructor & Destructor Documentation

TwoSizesWindowed::TwoSizesWindowed ( const wns::pyconfig::View config  ) 

Definition at line 38 of file TwoSizesWindowed.cpp.

TwoSizesWindowed::~TwoSizesWindowed (  ) 

Definition at line 49 of file TwoSizesWindowed.cpp.


Member Function Documentation

double TwoSizesWindowed::getSuccessRate ( const CompoundPtr compound  )  [virtual]

Implements wns::ldk::arq::statuscollector::Interface.

Definition at line 85 of file TwoSizesWindowed.cpp.

void TwoSizesWindowed::onFailedTransmission ( const CompoundPtr compound  )  [virtual]

Implements wns::ldk::arq::statuscollector::Interface.

Definition at line 73 of file TwoSizesWindowed.cpp.

void TwoSizesWindowed::onSuccessfullTransmission ( const CompoundPtr compound  )  [virtual]

Implements wns::ldk::arq::statuscollector::Interface.

Definition at line 61 of file TwoSizesWindowed.cpp.

void TwoSizesWindowed::reset (  )  [virtual]

Implements wns::ldk::arq::statuscollector::Interface.

Definition at line 55 of file TwoSizesWindowed.cpp.


Member Data Documentation

Definition at line 59 of file TwoSizesWindowed.hpp.

Definition at line 65 of file TwoSizesWindowed.hpp.

Definition at line 64 of file TwoSizesWindowed.hpp.

Definition at line 60 of file TwoSizesWindowed.hpp.

Definition at line 63 of file TwoSizesWindowed.hpp.

Definition at line 58 of file TwoSizesWindowed.hpp.

Definition at line 62 of file TwoSizesWindowed.hpp.


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

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