RTP Trace System
1.0
|
Traffic Shaper Singleton. More...
#include <trafficshaper.h>
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 |
Traffic Shaper Singleton.
This class is a singleton for the traffic shaper.
Constructor.
Destructor.
Add traffic shaper object.
ts | TrafficShaper. |
Remove traffic shaper object.
ts | TrafficShaper. |
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.
vector<TrafficShaper*> Coral::TrafficShaperSingleton::ShaperSet [private] |