34 #ifndef vtkOldStyleCallbackCommand_h 35 #define vtkOldStyleCallbackCommand_h 37 #include "vtkCommonCoreModule.h" 54 void *calldata)
override;
61 {this->ClientData = cd;};
63 {this->Callback = f;};
65 {this->ClientDataDeleteCallback = f;};
69 void (*Callback)(
void *);
70 void (*ClientDataDeleteCallback)(
void *);
virtual void Execute(vtkObject *caller, unsigned long eventId, void *callData)=0
All derived classes of vtkCommand must implement this method.
abstract base class for most VTK objects
void SetClientData(void *cd)
Methods to set and get client and callback information.
superclass for callback/observer methods
supports legacy function callbacks for VTK
static vtkOldStyleCallbackCommand * New()
void SetCallback(void(*f)(void *clientdata))
Methods to set and get client and callback information.
void SetClientDataDeleteCallback(void(*f)(void *))
Methods to set and get client and callback information.