OpenDOF Project
Data Fields
DOFSystemRouteListener Struct Reference

The listener interface structure used to be notified of routing changes within the DOF. More...

Data Fields

void(* Removed )(DOFSystemRouteListener self, DOFSystem system, DOFException except)
 Callback used to let the listener free resources associated with the listener.
 
void(* RouteStatus )(DOFSystemRouteListener self, DOFSystem system, DOFRouteInfo routeInfo, DOFRouteInfoState reason)
 Callback to notify the application that something has changed for a route.
 

Detailed Description

The listener interface structure used to be notified of routing changes within the DOF.

The System Route Listener interface.

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

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

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