live
|
#include <DelayQueue.hh>
Public Member Functions | |
DelayQueue () | |
virtual | ~DelayQueue () |
void | addEntry (DelayQueueEntry *newEntry) |
void | updateEntry (DelayQueueEntry *entry, DelayInterval newDelay) |
void | updateEntry (intptr_t tokenToFind, DelayInterval newDelay) |
void | removeEntry (DelayQueueEntry *entry) |
DelayQueueEntry * | removeEntry (intptr_t tokenToFind) |
DelayInterval const & | timeToNextAlarm () |
void | handleAlarm () |
intptr_t | token () |
Protected Member Functions | |
virtual void | handleTimeout () |
Private Member Functions | |
DelayQueueEntry * | head () |
DelayQueueEntry * | findEntryByToken (intptr_t token) |
void | synchronize () |
Private Attributes | |
_EventTime | fLastSyncTime |
DelayQueueEntry * | fNext |
DelayQueueEntry * | fPrev |
DelayInterval | fDeltaTimeRemaining |
intptr_t | fToken |
Definition at line 159 of file DelayQueue.hh.
DelayQueue::DelayQueue | ( | ) |
|
virtual |
void DelayQueue::addEntry | ( | DelayQueueEntry * | newEntry | ) |
|
private |
void DelayQueue::handleAlarm | ( | ) |
|
protectedvirtualinherited |
|
inlineprivate |
void DelayQueue::removeEntry | ( | DelayQueueEntry * | entry | ) |
DelayQueueEntry * DelayQueue::removeEntry | ( | intptr_t | tokenToFind | ) |
|
private |
DelayInterval const & DelayQueue::timeToNextAlarm | ( | ) |
|
inlineinherited |
Definition at line 139 of file DelayQueue.hh.
References DelayQueueEntry::fToken.
void DelayQueue::updateEntry | ( | DelayQueueEntry * | entry, |
DelayInterval | newDelay | ||
) |
void DelayQueue::updateEntry | ( | intptr_t | tokenToFind, |
DelayInterval | newDelay | ||
) |
|
privateinherited |
Definition at line 152 of file DelayQueue.hh.
|
private |
Definition at line 178 of file DelayQueue.hh.
|
privateinherited |
Definition at line 150 of file DelayQueue.hh.
Referenced by head().
|
privateinherited |
Definition at line 151 of file DelayQueue.hh.
|
privateinherited |
Definition at line 154 of file DelayQueue.hh.
Referenced by DelayQueueEntry::token().