OpenDOF Project
Data Fields
DOFDomainStateListener Struct Reference

The listener interface structure used to obtain information on domain state. More...

Data Fields

void(* Removed )(DOFDomainStateListener self, DOFDomain domain, DOFException exception)
 This callback is called to notify that the listener was removed.
 
void(* StateChanged )(DOFDomainStateListener self, DOFDomain domain, DOFDomainState state)
 This callback is called to notify the listener that the state of a DOFDomain has changed.
 

Detailed Description

The listener interface structure used to obtain information on domain state.

The DOFDomain state Listener interface.

This structure should be placed as the first element in a larger structure representing any necessary state of the listener. All of the functions take as their first argument a pointer to this structure (a DOFDomainListener). Inside each function, it can thus be type-cast as a pointer to the larger structure to access the listener's state. If no additional state is required, this structure may be used directly.

See Also
DOFDomain_AddStateListener

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

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