S2OPC OPCUA Toolkit
|
Encodeable object services. More...
Go to the source code of this file.
Functions | |
SOPC_ReturnStatus | SOPC_Encodeable_Create (SOPC_EncodeableType *encTyp, void **encObject) |
Instantiate and initialize an encodeable object of the given encodeable type. More... | |
SOPC_ReturnStatus | SOPC_Encodeable_Delete (SOPC_EncodeableType *encTyp, void **encObject) |
Clear and deallocate an encodeable object of the given encodeable type. More... | |
SOPC_ReturnStatus | SOPC_Encodeable_CreateExtension (SOPC_ExtensionObject *extObject, SOPC_EncodeableType *encTyp, void **encObject) |
Create an encodeable object of the given encodeable type and set it in the given extension object. More... | |
SOPC_ReturnStatus | SOPC_Encodeable_Move (void *destObj, void *srcObj) |
Moves content of srcObj to destObj , i.e. copy srcObj structure content to destObj and reset srcObj . Both parameters shall be EncodeableObject with same SOPC_EncodeableType. More... | |
Encodeable object services.
SOPC_ReturnStatus SOPC_Encodeable_Create | ( | SOPC_EncodeableType * | encTyp, |
void ** | encObject | ||
) |
Instantiate and initialize an encodeable object of the given encodeable type.
encTyp | Encodeable type of the encodeable object to instantiate and initialize |
encObject | Pointer to be set with the address of the newly created encodeable object |
SOPC_ReturnStatus SOPC_Encodeable_Delete | ( | SOPC_EncodeableType * | encTyp, |
void ** | encObject | ||
) |
Clear and deallocate an encodeable object of the given encodeable type.
encTyp | Encodeable type of the encodeable object to deallocate |
encObject | Pointer to the address of the encodeable object to delete (set to NULL if operation succeded) |
SOPC_ReturnStatus SOPC_Encodeable_CreateExtension | ( | SOPC_ExtensionObject * | extObject, |
SOPC_EncodeableType * | encTyp, | ||
void ** | encObject | ||
) |
Create an encodeable object of the given encodeable type and set it in the given extension object.
extObject | Extension object in which the newly created encodeable object must be set |
encTyp | Encodeable type of the encodeable object to instantiate and initialize |
encObject | Pointer to be set with the address of the newly created encodeable object |
SOPC_ReturnStatus SOPC_Encodeable_Move | ( | void * | destObj, |
void * | srcObj | ||
) |
Moves content of srcObj
to destObj
, i.e. copy srcObj
structure content to destObj
and reset srcObj
. Both parameters shall be EncodeableObject with same SOPC_EncodeableType.
destObj | Empty and initialized encodeable object in which content of srcObj will be copied. |
srcObj | Source encodeable object from which content will be copied into destObj and then reset. |