vtkOldStyleCallbackCommand Class Reference
#include <vtkOldStyleCallbackCommand.h>
Inheritance diagram for vtkOldStyleCallbackCommand:
[legend]Collaboration diagram for vtkOldStyleCallbackCommand:
[legend]List of all members.
Detailed Description
supports legacy function callbacks for VTK
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.
- Warning:
- This is legacy glue. Please do not use; it will be eventually eliminated.
- See also:
- vtkCommand vtkCallbackCommand
Definition at line 39 of file vtkOldStyleCallbackCommand.h.
Constructor & Destructor Documentation
vtkOldStyleCallbackCommand::vtkOldStyleCallbackCommand |
( |
|
) |
[protected] |
|
Member Function Documentation
void vtkOldStyleCallbackCommand::Execute |
( |
vtkObject * |
invoker, |
|
|
unsigned long |
eid, |
|
|
void * |
calldata |
|
) |
[virtual] |
|
|
Satisfy the superclass API for callbacks.
Implements vtkCommand.
|
void vtkOldStyleCallbackCommand::SetClientData |
( |
void * |
cd |
) |
[inline] |
|
void vtkOldStyleCallbackCommand::SetCallback |
( |
void(* |
f)(void *clientdata) |
) |
[inline] |
|
void vtkOldStyleCallbackCommand::SetClientDataDeleteCallback |
( |
void(* |
f)(void *) |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: