RTP Audio System  2.0.0
TrafficShaperSingleton Class Reference

Traffic Shaper Singleton. More...

#include <trafficshaper.h>

Inheritance diagram for TrafficShaperSingleton:
TimedThread MultiTimerThread< Timers > Thread 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

std::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 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 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