User Manual, Developers Guide and API Documentation

wns::ldk::probe::Packet Class Reference

FunctionalUnit to probe packet delay/throughput. More...

#include <ldk/probe/Packet.hpp>

Inheritance diagram for wns::ldk::probe::Packet:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

wns::probe::bus::ContextCollectorPtr delayIncomingBus
wns::probe::bus::ContextCollectorPtr delayOutgoingBus
logger::Logger logger
wns::probe::bus::ContextCollectorPtr sizeIncomingBus
wns::probe::bus::ContextCollectorPtr sizeOutgoingBus
wns::probe::bus::ContextCollectorPtr throughputBus


Detailed Description

The pyconfig::View should contain the following entries: Each of the entries must contain the name of a configured probe. The content of idNames determines the way, values are put into the probes: idNames must match a registered IDProvider.

Definition at line 88 of file Packet.hpp.


Constructor & Destructor Documentation

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

Definition at line 46 of file Packet.cpp.

Packet::~Packet (  )  [virtual]

Definition at line 77 of file Packet.cpp.


Member Function Documentation

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

Override this method to handle incoming compounds.

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

Definition at line 104 of file Packet.cpp.

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

Override this method to handle outgoing compounds.

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

Definition at line 81 of file Packet.cpp.


Member Data Documentation

Definition at line 102 of file Packet.hpp.

Definition at line 103 of file Packet.hpp.

Definition at line 108 of file Packet.hpp.

Definition at line 105 of file Packet.hpp.

Definition at line 106 of file Packet.hpp.

Definition at line 104 of file Packet.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