|
ConOpSys V2970
P004.07
ANVILEX control operating system
|
List generic item class. More...
#include <List_Item.h>

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_Item * | Previous () |
| Get pointer to the previous item. More... | |
| TList_Item * | Next () |
| Get pointer to the next item. More... | |
| VOID * | Data () |
| 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_Item * | object_Previous_Item = (TList_Item*)NULL |
| Pointer to previous item. More... | |
| TList_Item * | object_Next_Item = (TList_Item*)NULL |
| Pointer to next item. More... | |
| VOID * | object_Data = (VOID*)NULL |
| Pointer to data. More... | |
List generic item class.
| TList_Item::TList_Item | ( | TList_Item * | object_Previous_Item, |
| TList_Item * | object_Next_Item, | ||
| VOID * | object_Data | ||
| ) |
Class constructor method.
| [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 |
References object_Data, object_Next_Item, and object_Previous_Item.
| TList_Item::~TList_Item | ( | ) |
Class destructor method.
References NULL, object_Next_Item, and object_Previous_Item.
| VOID * TList_Item::Data | ( | ) |
Get pointer to the item data.
References object_Data.
Referenced by TCircularList::Current(), TCircularList::Delete(), TCircularList::Exists(), TCircularList::MoveNext(), TCircularList::MovePrevious(), TCircularList::Next(), and TCircularList::Previous().

| TList_Item * TList_Item::Next | ( | ) |
Get pointer to the next item.
References object_Next_Item.
Referenced by TCircularList::AddNext(), TCircularList::Delete(), TCircularList::Exists(), TCircularList::MoveNext(), and TCircularList::Next().

| TList_Item * TList_Item::Previous | ( | ) |
Get pointer to the previous item.
References object_Previous_Item.
Referenced by TCircularList::MovePrevious(), and TCircularList::Previous().

| VOID TList_Item::Set_Next | ( | TList_Item * | object_New_Next_Item | ) |
Set pointer to the next item.
| [in] | *object_New_Next_Item | - Pointer to the new next item |
References object_Next_Item.
Referenced by TCircularList::AddNext().

| VOID TList_Item::Set_Previous | ( | TList_Item * | object_New_Previous_Item | ) |
Set pointer to the previous item.
| [in] | *object_New_Previous_Item | - Pointer to the new previous item |
References object_Previous_Item.
Referenced by TCircularList::AddNext().

Pointer to data.
Referenced by Data(), and TList_Item().
|
private |
Pointer to next item.
Referenced by Next(), Set_Next(), TList_Item(), and ~TList_Item().
|
private |
Pointer to previous item.
Referenced by Previous(), Set_Previous(), TList_Item(), and ~TList_Item().