Functor from which to derive to provide knob notification callbacks. More...
#include <Knob.h>
Public Member Functions | |
| virtual | ~NotificationCallbackFunctor () |
| The destructor will be called when removing callbacks. | |
| virtual bool | operator== (const NotificationCallbackFunctor &cs) const =0 |
| virtual int | operator() (NotificationCallbackReason) const =0 |
| Implement this function to receive callbacks. | |
Functor from which to derive to provide knob notification callbacks.
|
pure virtual |
operator== is required to identify callbacks. This is guaranteed only to be called with the same type so use: const MyFunctor& myFunctor = static_cast<const MyFunctor&>(cb);
| ©2026 The Foundry Visionmongers, Ltd. All Rights Reserved. |