Functions | |
UaServer_TurboList * | UaServer_TurboList_Create (OpcUa_UInt size) |
Creates and initializes a TurboList of requested size. | |
OpcUa_Void | UaServer_TurboList_Initialize (UaServer_TurboList *pList, OpcUa_UInt size) |
Initializes the TurboList structure. | |
OpcUa_Void | UaServer_TurboList_Clear (UaServer_TurboList *pList) |
Clears the TurboList. | |
OpcUa_Void | UaServer_TurboList_Delete (UaServer_TurboList *pList) |
This operation frees the TurboList and it's data. | |
OpcUa_Int | UaServer_TurboList_Add (UaServer_TurboList *pList, OpcUa_Void *pData) |
Adds a new element to the TurboList. | |
OpcUa_Void * | UaServer_TurboList_Get (UaServer_TurboList *pList, OpcUa_UInt index) |
Retrieves the stored element at the given index. | |
OpcUa_Void * | UaServer_TurboList_Remove (UaServer_TurboList *pList, OpcUa_UInt index) |
Removes the stored element at the given index. | |
OpcUa_UInt | UaServer_TurboList_GetSize (UaServer_TurboList *pList) |
Returns the number of elements in list. |
OpcUa_Int UaServer_TurboList_Add | ( | UaServer_TurboList * | pList, | |
OpcUa_Void * | pData | |||
) |
Adds a new element to the TurboList.
pList | pointer to TurboList. | |
pData | pointer to store in list. |
OpcUa_Void UaServer_TurboList_Clear | ( | UaServer_TurboList * | pList | ) |
Clears the TurboList.
pList | a pointer to the actual list. |
UaServer_TurboList* UaServer_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 UaServer_TurboList_Delete | ( | UaServer_TurboList * | pList | ) |
This operation frees the TurboList and it's data.
pList | a pointer to the actual list. |
OpcUa_Void* UaServer_TurboList_Get | ( | UaServer_TurboList * | pList, | |
OpcUa_UInt | index | |||
) |
Retrieves the stored element at the given index.
pList | pointer to TurboList. | |
index | index of element |
OpcUa_UInt UaServer_TurboList_GetSize | ( | UaServer_TurboList * | pList | ) |
Returns the number of elements in list.
pList | the list where to search the elements. |
OpcUa_Void UaServer_TurboList_Initialize | ( | UaServer_TurboList * | pList, | |
OpcUa_UInt | size | |||
) |
Initializes the TurboList structure.
This operation expects, that the memory block containg the structure is big enough to hold also size elements of data.
pList | a pointer to the actual list. | |
size | the size of the actual list. |
OpcUa_Void* UaServer_TurboList_Remove | ( | UaServer_TurboList * | pList, | |
OpcUa_UInt | index | |||
) |
Removes the stored element at the given index.
pList | pointer to TurboList. | |
index | of element |