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

List generic item class. More...

#include <List_Item.h>

Collaboration diagram for TList_Item:
Collaboration graph

Public Member Functions

 TList_Item (TList_Item *object_Previous_Item, TList_Item *object_Next_Item, VOID *object_Data)
 Class constructor method. More...
 
 ~TList_Item ()
 Class destructor method. More...
 
TList_ItemPrevious ()
 Get pointer to the previous item. More...
 
TList_ItemNext ()
 Get pointer to the next item. More...
 
VOIDData ()
 Get pointer to the item data. More...
 
VOID Set_Previous (TList_Item *object_New_Previous_Item)
 Set pointer to the previous item. More...
 
VOID Set_Next (TList_Item *object_New_Next_Item)
 Set pointer to the next item. More...
 

Private Attributes

TList_Itemobject_Previous_Item = (TList_Item*)NULL
 Pointer to previous item. More...
 
TList_Itemobject_Next_Item = (TList_Item*)NULL
 Pointer to next item. More...
 
VOIDobject_Data = (VOID*)NULL
 Pointer to data. More...
 

Detailed Description

List generic item class.

Constructor & Destructor Documentation

◆ TList_Item()

TList_Item::TList_Item ( TList_Item object_Previous_Item,
TList_Item object_Next_Item,
VOID object_Data 
)

Class constructor method.


Note
None
Parameters
[in]*object_Previous_Item- Pointer to the previous item
[in]*object_Next_Item- Pointer to the next item
[in]*object_Data- Pointer to the item data
Override
Not allowed
Attention
Don't call this method directly.

References object_Data, object_Next_Item, and object_Previous_Item.

◆ ~TList_Item()

TList_Item::~TList_Item ( )

Class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

References NULL, object_Next_Item, and object_Previous_Item.

Member Function Documentation

◆ Data()

VOID * TList_Item::Data ( )

Get pointer to the item data.


Note
None
Returns
VOID* - Pointer to the next item
Override
Not allowed
Attention
None

References object_Data.

Referenced by TCircularList::Current(), TCircularList::Delete(), TCircularList::Exists(), TCircularList::MoveNext(), TCircularList::MovePrevious(), TCircularList::Next(), and TCircularList::Previous().

Here is the caller graph for this function:

◆ Next()

TList_Item * TList_Item::Next ( )

Get pointer to the next item.


Note
None
Returns
TList_Item - Pointer to the next item
Override
Not allowed
Attention
None

References object_Next_Item.

Referenced by TCircularList::AddNext(), TCircularList::Delete(), TCircularList::Exists(), TCircularList::MoveNext(), and TCircularList::Next().

Here is the caller graph for this function:

◆ Previous()

TList_Item * TList_Item::Previous ( )

Get pointer to the previous item.


Note
None
Returns
TList_Item - Pointer to the previous item
Override
Not allowed
Attention
None

References object_Previous_Item.

Referenced by TCircularList::MovePrevious(), and TCircularList::Previous().

Here is the caller graph for this function:

◆ Set_Next()

VOID TList_Item::Set_Next ( TList_Item object_New_Next_Item)

Set pointer to the next item.


Note
None
Parameters
[in]*object_New_Next_Item- Pointer to the new next item
Returns
None
Override
Not allowed
Attention
None

References object_Next_Item.

Referenced by TCircularList::AddNext().

Here is the caller graph for this function:

◆ Set_Previous()

VOID TList_Item::Set_Previous ( TList_Item object_New_Previous_Item)

Set pointer to the previous item.


Note
None
Parameters
[in]*object_New_Previous_Item- Pointer to the new previous item
Returns
None
Override
Not allowed
Attention
None

References object_Previous_Item.

Referenced by TCircularList::AddNext().

Here is the caller graph for this function:

Member Data Documentation

◆ object_Data

VOID* TList_Item::object_Data = (VOID*)NULL
private

Pointer to data.

Referenced by Data(), and TList_Item().

◆ object_Next_Item

TList_Item* TList_Item::object_Next_Item = (TList_Item*)NULL
private

Pointer to next item.

Referenced by Next(), Set_Next(), TList_Item(), and ~TList_Item().

◆ object_Previous_Item

TList_Item* TList_Item::object_Previous_Item = (TList_Item*)NULL
private

Pointer to previous item.

Referenced by Previous(), Set_Previous(), TList_Item(), and ~TList_Item().


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