reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::GenericTimerQueue< T > Class Template Referenceabstract

#include <GenericTimerQueue.hxx>

Classes

class  TimerEntry
 

Public Member Functions

virtual ~GenericTimerQueue ()
 deletes the message associated with the timer as well.
 
virtual void process ()
 
virtual void processTimer (T *)=0
 
void add (T *event, unsigned long msOffset)
 
int size () const
 
bool empty () const
 
unsigned int msTillNextTimer ()
 

Protected Attributes

std::multiset< TimerEntry< T > > mTimers
 

Detailed Description

template<class T>
class resip::GenericTimerQueue< T >

Definition at line 12 of file GenericTimerQueue.hxx.

Constructor & Destructor Documentation

◆ ~GenericTimerQueue()

template<class T >
virtual resip::GenericTimerQueue< T >::~GenericTimerQueue ( )
inlinevirtual

deletes the message associated with the timer as well.

Definition at line 41 of file GenericTimerQueue.hxx.

Member Function Documentation

◆ add()

template<class T >
void resip::GenericTimerQueue< T >::add ( T *  event,
unsigned long  msOffset 
)
inline

Definition at line 86 of file GenericTimerQueue.hxx.

◆ empty()

template<class T >
bool resip::GenericTimerQueue< T >::empty ( ) const
inline

Definition at line 97 of file GenericTimerQueue.hxx.

◆ msTillNextTimer()

template<class T >
unsigned int resip::GenericTimerQueue< T >::msTillNextTimer ( )
inline

Definition at line 102 of file GenericTimerQueue.hxx.

◆ process()

template<class T >
virtual void resip::GenericTimerQueue< T >::process ( )
inlinevirtual

dcm! – erasing the range didn't work...upper bound was prob. end()

Definition at line 49 of file GenericTimerQueue.hxx.

◆ processTimer()

template<class T >
virtual void resip::GenericTimerQueue< T >::processTimer ( T *  )
pure virtual

◆ size()

template<class T >
int resip::GenericTimerQueue< T >::size ( ) const
inline

Definition at line 92 of file GenericTimerQueue.hxx.

Member Data Documentation

◆ mTimers

template<class T >
std::multiset<TimerEntry<T> > resip::GenericTimerQueue< T >::mTimers
protected

Definition at line 135 of file GenericTimerQueue.hxx.


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