User Manual, Developers Guide and API Documentation

wns::ldk::tools::BottleNeckDetective Class Reference

Tries to find bottle necks in a FUN.

#include <ldk/tools/BottleNeckDetective.hpp>

Inheritance diagram for wns::ldk::tools::BottleNeckDetective:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::tools::BottleNeckDetective:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BottleNeckDetective (fun::FUN *fuNet, const wns::pyconfig::View &config)
virtual void periodically ()
 Your callback. Implement this!
virtual void processIncoming (const CompoundPtr &compound)
virtual void processOutgoing (const CompoundPtr &compound)
virtual ~BottleNeckDetective ()

Private Types

typedef std::map< long int,
CompoundPtr
CompoundContainer

Private Attributes

CompoundContainer compounds
long long int id
logger::Logger logger


Detailed Description

Definition at line 70 of file BottleNeckDetective.hpp.


Member Typedef Documentation

Definition at line 80 of file BottleNeckDetective.hpp.


Constructor & Destructor Documentation

BottleNeckDetective::BottleNeckDetective ( fun::FUN fuNet,
const wns::pyconfig::View config 
) [explicit]

Definition at line 52 of file BottleNeckDetective.cpp.

BottleNeckDetective::~BottleNeckDetective (  )  [virtual]

Definition at line 77 of file BottleNeckDetective.cpp.


Member Function Documentation

void BottleNeckDetective::periodically (  )  [virtual]

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

Implements wns::events::PeriodicTimeout.

Definition at line 121 of file BottleNeckDetective.cpp.

virtual void wns::ldk::tools::BottleNeckDetective::processIncoming ( const CompoundPtr compound  )  [virtual]

virtual void wns::ldk::tools::BottleNeckDetective::processOutgoing ( const CompoundPtr compound  )  [virtual]


Member Data Documentation

Definition at line 102 of file BottleNeckDetective.hpp.

Reimplemented from wns::ldk::CommandTypeSpecifierInterface.

Definition at line 101 of file BottleNeckDetective.hpp.

Definition at line 103 of file BottleNeckDetective.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