reSIProcate/stack  9694
Public Member Functions | Protected Member Functions
resip::BaseTimeLimitTimerQueue Class Reference

#include <TimerQueue.hxx>

Inheritance diagram for resip::BaseTimeLimitTimerQueue:
Inheritance graph
[legend]
Collaboration diagram for resip::BaseTimeLimitTimerQueue:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 161 of file TimerQueue.hxx.


Member Function Documentation

UInt64 BaseTimeLimitTimerQueue::add ( unsigned int  timeMs,
Message payload 
)

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();
}

Here is the call graph for this function:

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().

Here is the call graph for this function:


The documentation for this class was generated from the following files: