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.
◆ FunctionObjectType
◆ Self
◆ ~FunctionCommand()
virtual itk::simple::FunctionCommand::~FunctionCommand |
( |
| ) |
|
|
virtual |
◆ FunctionCommand()
itk::simple::FunctionCommand::FunctionCommand |
( |
| ) |
|
◆ Execute()
virtual void itk::simple::FunctionCommand::Execute |
( |
void |
| ) |
|
|
virtual |
◆ SetCallbackFunction() [1/3]
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 51 of file sitkFunctionCommand.h.
◆ SetCallbackFunction() [2/3]
void itk::simple::FunctionCommand::SetCallbackFunction |
( |
void(*)() |
pFunction | ) |
|
Set a C-Style function to be called in the Execute method
◆ SetCallbackFunction() [3/3]
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.
◆ m_Function
The documentation for this class was generated from the following file: