#include <vtkOldStyleCallbackCommand.h>
Inheritance diagram for vtkOldStyleCallbackCommand:
vtkOldStyleCallbackCommand is a callback that supports the legacy callback methods found in VTK. For example, the legacy method vtkProcessObject::SetStartMethod() is actually invoked using the command/observer design pattern of VTK, and the vtkOldStyleCallbackCommand is used to provide the legacy functionality. The callback function should have the form void func(void *clientdata), where clientdata is special data that should is associated with this instance of vtkCallbackCommand.
Definition at line 51 of file vtkOldStyleCallbackCommand.h.
Public Member Functions | |
void | Execute (vtkObject *invoker, unsigned long eid, void *calldata) |
void | SetClientData (void *cd) |
void | SetCallback (void(*f)(void *clientdata)) |
void | SetClientDataDeleteCallback (void(*f)(void *)) |
Static Public Member Functions | |
vtkOldStyleCallbackCommand * | New () |
Public Attributes | |
void * | ClientData |
void(* | Callback )(void *) |
void(* | ClientDataDeleteCallback )(void *) |
Protected Member Functions | |
vtkOldStyleCallbackCommand () | |
~vtkOldStyleCallbackCommand () |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObjectBase. Definition at line 54 of file vtkOldStyleCallbackCommand.h. |
|
Satisfy the superclass API for callbacks. Implements vtkCommand. |
|
Methods to set and get client and callback information. Definition at line 62 of file vtkOldStyleCallbackCommand.h. |
|
Methods to set and get client and callback information. Definition at line 64 of file vtkOldStyleCallbackCommand.h. |
|
Methods to set and get client and callback information. Definition at line 66 of file vtkOldStyleCallbackCommand.h. |
|
Definition at line 70 of file vtkOldStyleCallbackCommand.h. |
|
|
|
|