User Manual, Developers Guide and API Documentation

wns::ldk::probe::Window Class Reference

FunctionalUnit to probe windowing throughputs.

#include <ldk/probe/Window.hpp>

Inheritance diagram for wns::ldk::probe::Window:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void processIncoming (const CompoundPtr &compound)
 Process compounds on uplink.
virtual void processOutgoing (const CompoundPtr &compound)
 Process compounds on downlink.
 Window (fun::FUN *fuNet, const wns::pyconfig::View &config)
virtual ~Window ()

Protected Member Functions

void periodically ()
 Your callback. Implement this!

Private Attributes

SlidingWindow aggregatedThroughputInBit
SlidingWindow aggregatedThroughputInPDUs
wns::probe::bus::ContextCollectorPtr bitsAggregatedBus
wns::probe::bus::ContextCollectorPtr bitsIncomingBus
wns::probe::bus::ContextCollectorPtr bitsOutgoingBus
wns::probe::bus::ContextCollectorPtr compoundsAggregatedBus
wns::probe::bus::ContextCollectorPtr compoundsIncomingBus
wns::probe::bus::ContextCollectorPtr compoundsOutgoingBus
SlidingWindow cumulatedBitsIncoming
SlidingWindow cumulatedBitsOutgoing
SlidingWindow cumulatedPDUsIncoming
SlidingWindow cumulatedPDUsOutgoing
logger::Logger logger
simTimeType sampleInterval


Detailed Description

Definition at line 62 of file Window.hpp.


Constructor & Destructor Documentation

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

Definition at line 46 of file Window.cpp.

Window::~Window (  )  [virtual]

Definition at line 93 of file Window.cpp.


Member Function Documentation

void Window::periodically (  )  [protected, virtual]

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

Implements wns::events::PeriodicTimeout.

Definition at line 144 of file Window.cpp.

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

Override this method to handle incoming compounds.

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

Definition at line 120 of file Window.cpp.

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

Override this method to handle outgoing compounds.

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

Definition at line 97 of file Window.cpp.


Member Data Documentation

Definition at line 95 of file Window.hpp.

Definition at line 96 of file Window.hpp.

Definition at line 86 of file Window.hpp.

Definition at line 82 of file Window.hpp.

Definition at line 84 of file Window.hpp.

Definition at line 87 of file Window.hpp.

Definition at line 83 of file Window.hpp.

Definition at line 85 of file Window.hpp.

Definition at line 89 of file Window.hpp.

Definition at line 92 of file Window.hpp.

Definition at line 90 of file Window.hpp.

Definition at line 93 of file Window.hpp.

Definition at line 98 of file Window.hpp.

Definition at line 80 of file Window.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