reSIProcate/stack  9694
Public Member Functions | Private Attributes
resip::TuSelectorTimerQueue Class Reference

#include <TimerQueue.hxx>

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

List of all members.

Public Member Functions

 TuSelectorTimerQueue (TuSelector &sel)
UInt64 add (unsigned int timeMs, Message *payload)
virtual void processTimer (const TimerWithPayload &timer)

Private Attributes

TuSelectormFifoSelector

Detailed Description

Definition at line 188 of file TimerQueue.hxx.


Constructor & Destructor Documentation

TuSelectorTimerQueue::TuSelectorTimerQueue ( TuSelector sel)

Definition at line 90 of file TimerQueue.cxx.

                                                          : mFifoSelector(sel)
{}

Member Function Documentation

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

Definition at line 94 of file TimerQueue.cxx.

References resip::Message::brief(), DebugLog, and resip::TimerQueue< TimerWithPayload >::mTimers.

Referenced by resip::SipStack::postMS().

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

void TuSelectorTimerQueue::processTimer ( const TimerWithPayload timer) [virtual]

Member Data Documentation

Definition at line 195 of file TimerQueue.hxx.

Referenced by processTimer().


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