OpenCMISS-Zinc C++ API Documentation
|
Manages individual user notification of changes with a field module. More...
#include <fieldmodule.hpp>
Public Member Functions | |
Fieldmodulenotifier (cmzn_fieldmodulenotifier_id in_fieldmodulenotifier_id) | |
Fieldmodulenotifier (const Fieldmodulenotifier &fieldmoduleNotifier) | |
Fieldmodulenotifier & | operator= (const Fieldmodulenotifier &fieldmoduleNotifier) |
bool | isValid () const |
cmzn_fieldmodulenotifier_id | getId () const |
int | setCallback (Fieldmodulecallback &callback) |
int | clearCallback () |
Protected Attributes | |
cmzn_fieldmodulenotifier_id | id |
Manages individual user notification of changes with a field module.
Manages individual user notification of changes with a field module.
|
inline |
Stop and clear field module callback. This will stop the callback and also remove the callback function from the fieldmodule notifier.
|
inline |
Return the C handle of the Fieldmodulenotifier object.
|
inline |
Check if this is a valid Fieldmodulenotifier object.
|
inline |
Assign the callback function and user data for the fieldmodule notifier. This function also starts the callback.
callback | function to be called when event is triggered. |
user_data_in | Void pointer to user object. User must ensure this object's lifetime exceeds the duration for which callbacks are active. |