OpenDOF Project
Data Fields
DOFSystemActivateInterestListener Struct Reference

The DOFSystemActivateInterestListener interface enables you to create functionality in providers that begins providing a binding in response to a DOFINTERESTLEVEL_ACTIVATE or higher level of interest. More...

Data Fields

void(* Removed )(DOFSystemActivateInterestListener self, DOFSystem system, DOFException except)
 Callback used to let the listener free resources associated with the listener.
 
void(* Activate )(DOFSystemActivateInterestListener self, DOFSystem system, DOFRequest request, DOFObjectID objectID, DOFInterfaceID interfaceID)
 Callback for a Provider when Activate-level interest is added (requested) for an Object and Interface.
 
void(* CancelActivate )(DOFSystemActivateInterestListener self, DOFSystem system, DOFRequest request, DOFObjectID objectID, DOFInterfaceID interfaceID)
 Callback for a Provider when Activate-level interest is removed for an Object and Interface.
 

Detailed Description

The DOFSystemActivateInterestListener interface enables you to create functionality in providers that begins providing a binding in response to a DOFINTERESTLEVEL_ACTIVATE or higher level of interest.

The DOFSystem Activate Interest Listener interface.

DOFINTERESTLEVEL_WATCH interest does not trigger the callbacks in this interface.

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

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

core-c-dof-oal Version 8.0.0 Build 0
2017-04-21