OpenCMISS-Zinc C++ API Documentation
|
Manages individual user notification of changes with a logger. More...
#include <logger.hpp>
Public Member Functions | |
Loggernotifier (cmzn_loggernotifier_id in_loggernotifier_id) | |
Loggernotifier (const Loggernotifier &loggerNotifier) | |
Loggernotifier & | operator= (const Loggernotifier &loggerNotifier) |
bool | isValid () const |
cmzn_loggernotifier_id | getId () const |
int | setCallback (Loggercallback &callback) |
int | clearCallback () |
Protected Attributes | |
cmzn_loggernotifier_id | id |
Manages individual user notification of changes with a logger.
Manages individual user notification of changes with a logger.
|
inline |
Stop and clear logger callback. This will stop the callback and also remove the callback function from the logger notifier.
|
inline |
Return the C handle of the Loggernotifier object.
|
inline |
Check if this is a valid Loggernotifier object.
|
inline |
Assign the callback function and user data for the logger 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. |