#include <itkCommand.h>
Inheritance diagram for itk::CStyleCommand:
Public Types | |
typedef CStyleCommand | Self |
typedef SmartPointer< Self > | Pointer |
typedef void(* | FunctionPointer )(Object *, const EventObject &, void *) |
typedef void(* | ConstFunctionPointer )(const Object *, const EventObject &, void *) |
typedef void(* | DeleteDataFunctionPointer )(void *) |
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetClientData (void *cd) |
void | SetClientDataDeleteCallback (DeleteDataFunctionPointer f) |
void | SetCallback (FunctionPointer f) |
void | SetConstCallback (ConstFunctionPointer f) |
void | Execute (Object *caller, const EventObject &event) |
void | Execute (const Object *caller, const EventObject &event) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
CStyleCommand () | |
~CStyleCommand () | |
Protected Attributes | |
void * | m_ClientData |
FunctionPointer | m_Callback |
ConstFunctionPointer | m_ConstCallback |
DeleteDataFunctionPointer | m_ClientDataDeleteCallback |
CStyleCommand calls a pointer to a C function with the following arguments void func(Object *,void *clientdata) The clientdata is data that the command wants passed to itself each time.
Definition at line 350 of file itkCommand.h.
|
Typedefs for C-style callbacks. Definition at line 355 of file itkCommand.h. |
|
Typedefs for C-style callbacks. Definition at line 356 of file itkCommand.h. |
|
Typedefs for C-style callbacks. Definition at line 354 of file itkCommand.h. |
|
Reimplemented from itk::Command. Definition at line 361 of file itkCommand.h. |
|
Standard class typedefs. Reimplemented from itk::Command. Definition at line 360 of file itkCommand.h. |
|
Definition at line 405 of file itkCommand.h. |
|
Definition at line 409 of file itkCommand.h. |
|
Execute the callback function with a const Object Implements itk::Command. Definition at line 395 of file itkCommand.h. References m_ClientData, and m_ClientDataDeleteCallback. |
|
Execute the callback function. Implements itk::Command. Definition at line 385 of file itkCommand.h. |
|
Run-time type information (and related methods). Reimplemented from itk::Command.
|
|
Method for creation through the object factory. Reimplemented from itk::Object.
|
|
Set the C callback function pointer to be called at Execute time. Definition at line 374 of file itkCommand.h. References m_Callback, and m_ClientData. |
|
Set the client data that will be passed into the C function when it is called. Definition at line 371 of file itkCommand.h. References m_Callback. |
|
Set the callback to delete the client data. Definition at line 381 of file itkCommand.h. References m_ClientData, and m_ConstCallback. |
|
Set the C callback function pointer to be called at Execute time. Definition at line 376 of file itkCommand.h. |
|
Definition at line 417 of file itkCommand.h. Referenced by SetCallback(), and SetClientData(). |
|
Definition at line 416 of file itkCommand.h. Referenced by Execute(), SetCallback(), and SetClientDataDeleteCallback(). |
|
Definition at line 419 of file itkCommand.h. Referenced by Execute(). |
|
Definition at line 418 of file itkCommand.h. Referenced by SetClientDataDeleteCallback(). |