OpenDOF Project
Data Fields
DOFObjectInvokeCallback Struct Reference

The callback interface structure used to receive results from a Provider for Invoke Operations. More...

Data Fields

void(* Complete )(DOFObjectInvokeCallback self, DOFOperation operation, DOFException except)
 Callback for a Requestor for the completion of an asynchronous operation.
 
void(* InvokeResult )(DOFObjectInvokeCallback self, DOFOperation operation, DOFProviderInfo providerInfo, uint16 resultCount, const DOFValue result[], DOFException except)
 Callback for a Requestor for the results of an asynchronous operation.
 

Detailed Description

The callback interface structure used to receive results from a Provider for Invoke Operations.

The Requestor Callback interface.

All of the functions in this structure take a pointer to this structure (a DOFObjectInvokeCallback) 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
DOFObject_BeginInvoke

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

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