OpenDOF Project
Data Fields
DOFSystemQueryCallback Struct Reference

The callback interface structure used to obtain changes in the interest set for a query. More...

Data Fields

void(* Complete )(DOFSystemQueryCallback self, DOFOperation operation, DOFException except)
 Callback for a Requestor when the DOFOperation, representing the Query, has timed out or is cancelled.
 
void(* InterfaceAdded )(DOFSystemQueryCallback self, DOFOperation operation, DOFObjectID objectID, DOFInterfaceID interfaceID)
 Callback for Requestor when a Provider's Interface matching the query for the DOFOperation is discovered within the system.
 
void(* InterfaceRemoved )(DOFSystemQueryCallback self, DOFOperation operation, DOFObjectID objectID, DOFInterfaceID interfaceID)
 Callback for Requestor when a Provider's Interface matching the query for the DOFOperation is removed from the system.
 
void(* ProviderRemoved )(DOFSystemQueryCallback self, DOFOperation operation, DOFObjectID objectID)
 Callback for Requestor when a Provider matching the query for the DOFOperation no longer provides any matching Interfaces.
 

Detailed Description

The callback interface structure used to obtain changes in the interest set for a query.

The Query Callback interface.

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

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

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