Nuke binary plugins 16.1.1
 
Loading...
Searching...
No Matches
DD::Image::Knob::NotificationCallbackFunctor Struct Referenceabstract

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.
 

Detailed Description

Functor from which to derive to provide knob notification callbacks.

Member Function Documentation

◆ operator==()

virtual bool DD::Image::Knob::NotificationCallbackFunctor::operator== ( const NotificationCallbackFunctor cs) const
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.
www.foundry.com