RTP Trace System  1.0
Coral::TrafficShaperSingleton Class Reference

Traffic Shaper Singleton. More...

#include <trafficshaper.h>

Inheritance diagram for Coral::TrafficShaperSingleton:
Coral::TimedThread Coral::Thread Coral::Synchronizable

List of all members.

Public Member Functions

 TrafficShaperSingleton ()
 ~TrafficShaperSingleton ()
void addTrafficShaper (TrafficShaper *ts)
void removeTrafficShaper (TrafficShaper *ts)

Private Member Functions

void timerEvent ()

Private Attributes

vector< TrafficShaper * > ShaperSet
cardinal UserCount

Detailed Description

Traffic Shaper Singleton.

This class is a singleton for the traffic shaper.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation


Member Function Documentation

Add traffic shaper object.

Parameters:
tsTrafficShaper.

Remove traffic shaper object.

Parameters:
tsTrafficShaper.
void Coral::TrafficShaperSingleton::timerEvent ( ) [private, virtual]

The virtual timerEvent() method, which contains the timed thread's implementation. It has to be implemented by classes, which inherit TimedThread. This method is called regularly with the given interval.

Implements Coral::TimedThread.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines