User Manual, Developers Guide and API Documentation

wimemac::upperMAC::TrafficEstimation_mean Class Reference

#include <upperMAC/TrafficEstimation_mean.hpp>

Inheritance diagram for wimemac::upperMAC::TrafficEstimation_mean:

Inheritance graph
[legend]
Collaboration diagram for wimemac::upperMAC::TrafficEstimation_mean:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TrafficEstimation_mean (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual ~TrafficEstimation_mean ()

Private Member Functions

virtual bool doIsAccepting (const wns::ldk::CompoundPtr &compound) const
virtual void doOnData (const wns::ldk::CompoundPtr &compound)
virtual void doSendData (const wns::ldk::CompoundPtr &compound)
virtual void doWakeup ()
virtual void onFUNCreated ()
virtual void periodically ()
 Your callback. Implement this!

Private Attributes

int averageOverSFs
int bitsPerSF
wns::events::scheduler::Callable call
wns::ldk::CompoundPtr compound
std::map
< wns::service::dll::UnicastAddress,
estimatedTraffic
currentTrafficPerAddress
wns::probe::bus::ContextCollectorPtr datathroughputProbe
struct
wimemac::upperMAC::TrafficEstimation_mean::Friends 
friends
std::map
< wns::service::dll::UnicastAddress,
estimatedTraffic
lastSetTrafficPerAddress
wns::logger::Logger logger
const std::string managerName
wns::simulator::Time maxWait
std::deque< measurementDatapSFmeasurementWindow
wns::simulator::Time measuringSince
std::map
< wns::service::dll::UnicastAddress,
bool
NeedsNewEstimatePerAddress
wns::events::scheduler::Interfacescheduler
struct
wimemac::upperMAC::TrafficEstimation_mean::config 
trafficEstimationConfig
std::map
< wns::service::dll::UnicastAddress,
std::deque< measurementDatapSF > > 
windowedTrafficPerAddress

Classes

struct  config
struct  estimatedTraffic
struct  Friends
struct  measurementDatapSF


Detailed Description

Definition at line 51 of file TrafficEstimation_mean.hpp.


Constructor & Destructor Documentation

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

Definition at line 40 of file TrafficEstimation_mean.cpp.

TrafficEstimation_mean::~TrafficEstimation_mean (  )  [virtual]

Definition at line 60 of file TrafficEstimation_mean.cpp.


Member Function Documentation

bool TrafficEstimation_mean::doIsAccepting ( const wns::ldk::CompoundPtr compound  )  const [private, virtual]

Definition at line 76 of file TrafficEstimation_mean.cpp.

void TrafficEstimation_mean::doOnData ( const wns::ldk::CompoundPtr compound  )  [private, virtual]

Definition at line 279 of file TrafficEstimation_mean.cpp.

void TrafficEstimation_mean::doSendData ( const wns::ldk::CompoundPtr compound  )  [private, virtual]

Definition at line 84 of file TrafficEstimation_mean.cpp.

void TrafficEstimation_mean::doWakeup (  )  [private, virtual]

Definition at line 130 of file TrafficEstimation_mean.cpp.

void TrafficEstimation_mean::onFUNCreated (  )  [private, virtual]

Definition at line 66 of file TrafficEstimation_mean.cpp.

void TrafficEstimation_mean::periodically (  )  [private, virtual]

The deriver is forced to implement this method. It gets called periodically, whenever the timer fires.

Implements wns::events::PeriodicTimeout.

Definition at line 137 of file TrafficEstimation_mean.cpp.


Member Data Documentation

Definition at line 134 of file TrafficEstimation_mean.hpp.

Definition at line 132 of file TrafficEstimation_mean.hpp.

Definition at line 137 of file TrafficEstimation_mean.hpp.

Definition at line 128 of file TrafficEstimation_mean.hpp.

Definition at line 121 of file TrafficEstimation_mean.hpp.

Definition at line 131 of file TrafficEstimation_mean.hpp.

Definition at line 122 of file TrafficEstimation_mean.hpp.

Definition at line 126 of file TrafficEstimation_mean.hpp.

Definition at line 87 of file TrafficEstimation_mean.hpp.

Definition at line 130 of file TrafficEstimation_mean.hpp.

Definition at line 117 of file TrafficEstimation_mean.hpp.

Definition at line 133 of file TrafficEstimation_mean.hpp.

Definition at line 124 of file TrafficEstimation_mean.hpp.

Definition at line 136 of file TrafficEstimation_mean.hpp.

Definition at line 120 of file TrafficEstimation_mean.hpp.


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

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