ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | Private Attributes | List of all members
TCircularList Class Reference

#include <Circular_List.h>

Collaboration diagram for TCircularList:
Collaboration graph

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 ()
 
VOIDPrevious ()
 
VOIDCurrent ()
 
VOIDNext ()
 
VOIDMovePrevious ()
 
VOIDMoveNext ()
 

Private Attributes

U32 u32_Count = (U32)0
 Items count. More...
 
TList_ItemCurrentItem = (TList_Item*)NULL
 Pointer to current item. More...
 

Constructor & Destructor Documentation

◆ TCircularList()

TCircularList::TCircularList ( )

◆ ~TCircularList()

TCircularList::~TCircularList ( )

References Clear().

Here is the call graph for this function:

Member Function Documentation

◆ AddNext()

VOID TCircularList::AddNext ( VOID Pointer)

References CurrentItem, TList_Item::Next(), NULL, TList_Item::Set_Next(), TList_Item::Set_Previous(), and u32_Count.

Referenced by TThreadManager::Create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Clear()

VOID TCircularList::Clear ( )

References CurrentItem, NULL, and u32_Count.

Referenced by ~TCircularList().

Here is the caller graph for this function:

◆ Current()

VOID * TCircularList::Current ( )

References CurrentItem, TList_Item::Data(), and NULL.

Here is the call graph for this function:

◆ Delete() [1/2]

BOOL TCircularList::Delete ( )
Todo:
ANVILEX KM: Reassign pointer
Todo:
ANVILEX KM: Reassig pointers

References CurrentItem, TList_Item::Next(), NULL, and u32_Count.

Referenced by Delete().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Delete() [2/2]

BOOL TCircularList::Delete ( VOID Pointer)
Todo:
ANVILEX KM: Check for data exists
Todo:
ANVILEX KM: Reassign pointer

References CurrentItem, TList_Item::Data(), Delete(), TList_Item::Next(), and u32_Count.

Referenced by TThreadManager::Destroy(), and ThreadSwitch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Exists()

BOOL TCircularList::Exists ( VOID Pointer)

References CurrentItem, TList_Item::Data(), TList_Item::Next(), and u32_Count.

Referenced by TThreadManager::Create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

U32 TCircularList::GetCount ( )

References u32_Count.

Referenced by TThreadManager::Create(), TThreadManager::GetThreadCount(), and ThreadSwitch().

Here is the caller graph for this function:

◆ IsEmpty()

BOOL TCircularList::IsEmpty ( )

References u32_Count.

Referenced by TThreadManager::Destroy().

Here is the caller graph for this function:

◆ MoveNext()

VOID * TCircularList::MoveNext ( )

References CurrentItem, TList_Item::Data(), TList_Item::Next(), and NULL.

Referenced by ThreadSwitch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MovePrevious()

VOID * TCircularList::MovePrevious ( )

References CurrentItem, TList_Item::Data(), NULL, and TList_Item::Previous().

Here is the call graph for this function:

◆ Next()

VOID * TCircularList::Next ( )

References CurrentItem, TList_Item::Data(), TList_Item::Next(), and NULL.

Here is the call graph for this function:

◆ Previous()

VOID * TCircularList::Previous ( )

References CurrentItem, TList_Item::Data(), NULL, and TList_Item::Previous().

Here is the call graph for this function:

Member Data Documentation

◆ CurrentItem

TList_Item* TCircularList::CurrentItem = (TList_Item*)NULL
private

Pointer to current item.

Referenced by AddNext(), Clear(), Current(), Delete(), Exists(), MoveNext(), MovePrevious(), Next(), and Previous().

◆ u32_Count

U32 TCircularList::u32_Count = (U32)0
private

Items count.

Referenced by AddNext(), Clear(), Delete(), Exists(), GetCount(), and IsEmpty().


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