OpenDOF Project
Data Fields
DOFOperationSessionDataTransform Struct Reference

The callback interface structure used to transform data on an OAP session. More...

Data Fields

uint8 *(* TransformReceiveData )(DOFOperationSessionDataTransform self, DOFInterfaceID sessionId, uint32 *pSize, uint8 *buffer)
 Transform data received from the other end of an OAP Session.
 
uint8 *(* TransformSendData )(DOFOperationSessionDataTransform self, DOFInterfaceID sessionId, uint32 *pSize, uint8 *buffer)
 Transform data that will be sent over an OAP Session.
 

Detailed Description

The callback interface structure used to transform data on an OAP session.

The Session Data Transform Callback interface.

All of the functions in this structure take a pointer to this structure (a DOFOperationSessionDataTransform) as their first argument. This structure may be placed as the first element in a larger structure that stores additional state, allowing the functions to access the additional state by casting the structure pointer to a pointer to the larger structure. If no additional state is required, this structure may be used directly.

Threading:
Functions in this interface may be called by multiple threads simultaneously. You must manage thread-safety.
See Also
DOFOperationSession_SetDataTransform
DOFRequestSession_SetDataTransform

Defined as a pointer to the DOFOperationSessionDataTransform_t structure. Refer to the structure for more information.

core-c-dof-oal Version 8.0.1 Build 0
2018-01-22