22#ifndef vtkOldStyleCallbackCommand_h 
   23#define vtkOldStyleCallbackCommand_h 
   26#include "vtkCommonCoreModule.h"  
   29VTK_ABI_NAMESPACE_BEGIN
 
   47  void SetCallback(
void (*f)(
void* clientdata)) { this->Callback = f; }
 
   52  void (*Callback)(
void*);
 
   53  void (*ClientDataDeleteCallback)(
void*);
 
superclass for callback/observer methods
 
abstract base class for most VTK objects
 
supports legacy function callbacks for VTK
 
void SetClientData(void *cd)
Methods to set and get client and callback information.
 
void Execute(vtkObject *invoker, unsigned long eid, void *calldata) override
Satisfy the superclass API for callbacks.
 
static vtkOldStyleCallbackCommand * New()
 
void SetClientDataDeleteCallback(void(*f)(void *))
Methods to set and get client and callback information.
 
vtkOldStyleCallbackCommand()
 
~vtkOldStyleCallbackCommand() override
 
void SetCallback(void(*f)(void *clientdata))
Methods to set and get client and callback information.