ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include <Circular_List.h>
Public Member Functions | |
TCircularList () | |
~TCircularList () | |
U32 | GetCount () |
VOID | Clear () |
BOOL | IsEmpty () |
BOOL | Exists (VOID *Pointer) |
VOID | AddNext (VOID *Pointer) |
BOOL | Delete (VOID *Pointer) |
BOOL | Delete () |
VOID * | Previous () |
VOID * | Current () |
VOID * | Next () |
VOID * | MovePrevious () |
VOID * | MoveNext () |
Private Attributes | |
U32 | u32_Count = (U32)0 |
Items count. More... | |
TList_Item * | CurrentItem = (TList_Item*)NULL |
Pointer to current item. More... | |
TCircularList::TCircularList | ( | ) |
TCircularList::~TCircularList | ( | ) |
References CurrentItem, TList_Item::Next(), NULL, TList_Item::Set_Next(), TList_Item::Set_Previous(), and u32_Count.
Referenced by TThreadManager::Create().
VOID TCircularList::Clear | ( | ) |
References CurrentItem, NULL, and u32_Count.
Referenced by ~TCircularList().
VOID * TCircularList::Current | ( | ) |
BOOL TCircularList::Delete | ( | ) |
References CurrentItem, TList_Item::Next(), NULL, and u32_Count.
Referenced by Delete().
References CurrentItem, TList_Item::Data(), Delete(), TList_Item::Next(), and u32_Count.
Referenced by TThreadManager::Destroy(), and ThreadSwitch().
References CurrentItem, TList_Item::Data(), TList_Item::Next(), and u32_Count.
Referenced by TThreadManager::Create().
U32 TCircularList::GetCount | ( | ) |
References u32_Count.
Referenced by TThreadManager::Create(), TThreadManager::GetThreadCount(), and ThreadSwitch().
BOOL TCircularList::IsEmpty | ( | ) |
References u32_Count.
Referenced by TThreadManager::Destroy().
VOID * TCircularList::MoveNext | ( | ) |
References CurrentItem, TList_Item::Data(), TList_Item::Next(), and NULL.
Referenced by ThreadSwitch().
VOID * TCircularList::MovePrevious | ( | ) |
References CurrentItem, TList_Item::Data(), NULL, and TList_Item::Previous().
VOID * TCircularList::Next | ( | ) |
References CurrentItem, TList_Item::Data(), TList_Item::Next(), and NULL.
VOID * TCircularList::Previous | ( | ) |
References CurrentItem, TList_Item::Data(), NULL, and TList_Item::Previous().
|
private |
Pointer to current item.
Referenced by AddNext(), Clear(), Current(), Delete(), Exists(), MoveNext(), MovePrevious(), Next(), and Previous().