![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cKernel.h>
Public Member Functions | |
| TYPE * | get_Head () const |
| TYPE * | RemoveHead () |
| bool | IsLast (TYPE *pObj) const |
| void | DestroyList () |
| void | AddHead (TYPE *pObj) |
| void | AddTail (TYPE *pObj) |
| void | AddTailLocked (TYPE *pObj, PKSPIN_LOCK pSpinLock) |
| TYPE * | GetNext (TYPE *pObj) const |
Public Member Functions inherited from GrayKernel::CKeList | |
| void | InitList () |
| bool | IsListEmptyX () const |
| PLIST_ENTRY | get_Head () const |
| int | get_Count () const |
| PLIST_ENTRY | RemoveHead () |
| void | AddHead (PLIST_ENTRY pObj) |
| void | AddTail (PLIST_ENTRY pObj) |
| void | AddTailLocked (PLIST_ENTRY pObj, PKSPIN_LOCK pSpinLock) |
| bool | IsListLinked () const |
| PLIST_ENTRY | get_Prev () const |
| PLIST_ENTRY | get_Next () const |
| void | RemoveFromList () |
Static Public Member Functions | |
| static TYPE * | GetCast (PLIST_ENTRY pObj) |
| static PLIST_ENTRY | GetCast (TYPE *pObj) |
A circular doubly linked list. ASSUME nothing about list locking.
|
inline |
|
inline |
|
inline |
|
inline |
Free the whole list. traverse the list and DestroyThis() each of the entries.
|
inline |
|
inlinestatic |
Acts like CONTAINING_RECORD() and offsetof()
|
inlinestatic |
Acts like CONTAINING_RECORD() and offsetof()
|
inline |
|
inline |
|
inline |
remove the list head. (if there is one)