#include <e32std.h>
class TTickCountQue : public TDblQueBase |
Public Member Functions | |
---|---|
TTickCountQue() | |
void | Add(TTickCountQueLink &) |
TTickCountQueLink * | First() |
TTickCountQueLink * | RemoveFirst() |
TTickCountQueLink * | RemoveFirst(TUint) |
Inherited Attributes | |
---|---|
TDblQueBase::iHead | |
TDblQueBase::iOffset |
A class that provides the behaviour for managing a doubly linked list in which elements are added in order of the time until their tick count.
A common use for a list of this type is as a queue of timed events, where the tick counts are the expiry times of the events.
The tick count is defined by the value of the TTickCountQueLink::iTickCount member of the link element.
void | Add | ( | TTickCountQueLink & | aRef | ) |
Adds the specified list element.
The element is added into the list in order of its tick count.
Parameters | |
---|---|
aRef | The list element to be inserted. |
TTickCountQueLink * | First | ( | ) | const |
Gets a pointer to the first list element in the doubly linked list.
TTickCountQueLink * | RemoveFirst | ( | ) |
Removes the first list element from the linked list, if any.
TTickCountQueLink * | RemoveFirst | ( | TUint | aTickCount | ) |
Removes the first list element from the linked list if its tick count is prior to the current tick count.
Parameters | |
---|---|
aTickCount | The current tick count. |