43 #ifndef vtkCallbackCommand_h
44 #define vtkCallbackCommand_h
67 { this->ClientData = cd; }
69 {
return this->ClientData; }
71 void *clientdata,
void *calldata))
72 { this->Callback = f; }
74 { this->ClientDataDeleteCallback = f; }
82 { this->AbortFlagOnExecute = f; }
84 {
return this->AbortFlagOnExecute; }
86 { this->SetAbortFlagOnExecute(1); }
88 { this->SetAbortFlagOnExecute(0); }
91 void (*Callback)(
vtkObject *,
unsigned long,
void *,
void *);
92 void (*ClientDataDeleteCallback)(
void *);
virtual void Execute(vtkObject *caller, unsigned long eventId, void *callData)=0
virtual void SetClientData(void *cd)
abstract base class for most VTK objects
static vtkCallbackCommand * New()
#define VTKCOMMONCORE_EXPORT
virtual void SetClientDataDeleteCallback(void(*f)(void *))
void SetAbortFlagOnExecute(int f)
virtual void * GetClientData()
superclass for callback/observer methods
supports function callbacks
void AbortFlagOnExecuteOn()
int GetAbortFlagOnExecute()
void AbortFlagOnExecuteOff()
virtual void SetCallback(void(*f)(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata))