ANSI C Based OPC UA Client/Server/PubSub SDK
1.9.1.442
|
Data Structures | |
struct | UaBase_TurboList |
TurboList structure. More... | |
Functions | |
UaBase_TurboList * | UaBase_TurboList_Create (OpcUa_UInt size) |
Creates and initializes a TurboList of requested size. More... | |
OpcUa_Void | UaBase_TurboList_Delete (UaBase_TurboList *pList) |
This operation frees the TurboList and it's data. More... | |
OpcUa_Int | UaBase_TurboList_Add (UaBase_TurboList *pList, OpcUa_Void *pData) |
Adds a new element to the TurboList. More... | |
OpcUa_Void * | UaBase_TurboList_Get (UaBase_TurboList *pList, OpcUa_UInt iIndex) |
Retrieves the stored element at the given index. More... | |
OpcUa_Void * | UaBase_TurboList_GetNext (UaBase_TurboList *pList, OpcUa_UInt *pIndex) |
Retrieves the next element starting at the given index. More... | |
OpcUa_Void * | UaBase_TurboList_Remove (UaBase_TurboList *pList, OpcUa_UInt iIndex) |
Removes the stored element at the given index. More... | |
OpcUa_UInt | UaBase_TurboList_GetSize (UaBase_TurboList *pList) |
Returns the number of elements in list. More... | |
OpcUa_Int UaBase_TurboList_Add | ( | UaBase_TurboList * | pList, |
OpcUa_Void * | pData | ||
) |
Adds a new element to the TurboList.
pList | Pointer to the list. |
pData | Data to add to the list. |
UaBase_TurboList * UaBase_TurboList_Create | ( | OpcUa_UInt | size | ) |
Creates and initializes a TurboList of requested size.
size | number of elements that can be stored in this list. |
OpcUa_Void UaBase_TurboList_Delete | ( | UaBase_TurboList * | pList | ) |
This operation frees the TurboList and it's data.
pList | Pointer to the list. |
OpcUa_Void * UaBase_TurboList_Get | ( | UaBase_TurboList * | pList, |
OpcUa_UInt | iIndex | ||
) |
Retrieves the stored element at the given index.
pList | Pointer to the list. |
iIndex | Index of the element to get. |
OpcUa_Void * UaBase_TurboList_GetNext | ( | UaBase_TurboList * | pList, |
OpcUa_UInt * | pIndex | ||
) |
Retrieves the next element starting at the given index.
pList | Pointer to the list. |
pIndex | Index from which the search for the next valid element is started. If an element is found, the element's index is stored in this variable. If no element is found, it is set to 0. |
OpcUa_UInt UaBase_TurboList_GetSize | ( | UaBase_TurboList * | pList | ) |
Returns the number of elements in list.
pList | Pointer to the list. |
OpcUa_Void * UaBase_TurboList_Remove | ( | UaBase_TurboList * | pList, |
OpcUa_UInt | iIndex | ||
) |
Removes the stored element at the given index.
pList | Pointer to the list. |
iIndex | Index of the element to remove. |