|
reSIProcate/stack
9694
|
#include <TimerQueue.hxx>


Public Member Functions | |
| UInt64 | add (unsigned int timeMs, Message *payload) |
| virtual void | processTimer (const TimerWithPayload &timer) |
Protected Member Functions | |
| virtual void | addToFifo (Message *, TimeLimitFifo< Message >::DepthUsage)=0 |
Definition at line 161 of file TimerQueue.hxx.
Definition at line 58 of file TimerQueue.cxx.
References resip::Message::brief(), DebugLog, and resip::TimerQueue< TimerWithPayload >::mTimers.
Referenced by main().
{
assert(payload);
DebugLog(<< "Adding application timer: " << payload->brief() << " ms=" << timeMs);
mTimers.push(TimerWithPayload(timeMs,payload));
return mTimers.top().getWhen();
}

| virtual void resip::BaseTimeLimitTimerQueue::addToFifo | ( | Message * | , |
| TimeLimitFifo< Message >::DepthUsage | |||
| ) | [protected, pure virtual] |
Implemented in resip::TimeLimitTimerQueue.
Referenced by processTimer().
| void BaseTimeLimitTimerQueue::processTimer | ( | const TimerWithPayload & | timer | ) | [virtual] |
Implements resip::TimerQueue< TimerWithPayload >.
Definition at line 67 of file TimerQueue.cxx.
References addToFifo(), and resip::TimerWithPayload::getMessage().
{
assert(timer.getMessage());
addToFifo(timer.getMessage(), TimeLimitFifo<Message>::InternalElement);
}

1.7.5.1