A Command class which allows setting an external function, or member function.
More...
#include <sitkFunctionCommand.h>
A Command class which allows setting an external function, or member function.
Definition at line 33 of file sitkFunctionCommand.h.
itk::simple::FunctionCommand::FunctionCommand |
( |
| ) |
|
virtual void itk::simple::FunctionCommand::Execute |
( |
void |
| ) |
|
|
virtual |
template<class T >
void itk::simple::FunctionCommand::SetCallbackFunction |
( |
T * |
object, |
|
|
void(T::*)() |
pMemberFunction |
|
) |
| |
|
inline |
Generic method to set a class's member function to be called in the Execute method.
Definition at line 48 of file sitkFunctionCommand.h.
void itk::simple::FunctionCommand::SetCallbackFunction |
( |
void(*)() |
pFunction | ) |
|
Set a C-Style function to be called in the Execute method
void itk::simple::FunctionCommand::SetCallbackFunction |
( |
void(*)(void *) |
pFunction, |
|
|
void * |
clientData |
|
) |
| |
Set a C-Style function with a void* clientData as an argument. The caller is responsible for managing the life of the clientData and that it's valid when Execute is called with the clientData.
The documentation for this class was generated from the following file: