#include <callback.h>
|
void | startBlockingCallbacks () |
|
void | stopBlockingCallbacks () |
|
void | invokeAll () const |
|
const BaseCallBack * | addLambdaCallback (std::function< void()> lambda) |
|
std::shared_ptr< std::function< void()> > | addLambdaCallbackRaii (std::function< void()> lambda) |
|
bool | remove (const BaseCallBack *callback) |
| Removes callback if the callback was added before.
|
|
void | clear () |
| Removes all added callbacks.
|
|
Example usage CallBackList list; list.addMemberFunction(&myClassObject, &MYClassObject::myFunction); or list.addLambdaCallback([](){});
◆ remove()
bool inviwo::CallBackList::remove |
( |
const BaseCallBack * | callback | ) |
|
|
inline |
Removes callback if the callback was added before.
- Parameters
-
callback | Callback to be removed. |
- Returns
- bool True if removed, false otherwise.
The documentation for this class was generated from the following file: