An implementation of the Command design pattern for callback.
More...
#include <sitkCommand.h>
An implementation of the Command design pattern for callback.
This class provides a callback mechanism for event that occur from the ProcessObject. These commands can be utilized to observe these events.
The Command can be created on the stack, and will automatically unregistered it's self when destroyed.
For more information see the page CommandPage.
- Examples
- DemonsRegistration1/DemonsRegistration1.cxx, DemonsRegistration2/DemonsRegistration2.cxx, FilterProgressReporting/FilterProgressReporting.cs, FilterProgressReporting/FilterProgressReporting.cxx, ImageRegistrationMethod1/ImageRegistrationMethod1.cs, ImageRegistrationMethod1/ImageRegistrationMethod1.cxx, ImageRegistrationMethod2/ImageRegistrationMethod2.cs, ImageRegistrationMethod2/ImageRegistrationMethod2.cxx, ImageRegistrationMethodBSpline1/ImageRegistrationMethodBSpline1.cxx, ImageRegistrationMethodBSpline3/ImageRegistrationMethodBSpline3.cxx, and ImageRegistrationMethodDisplacement1/ImageRegistrationMethodDisplacement1.cxx.
Definition at line 44 of file sitkCommand.h.
◆ Command()
itk::simple::Command::Command |
( |
| ) |
|
◆ ~Command()
virtual itk::simple::Command::~Command |
( |
| ) |
|
|
overridevirtual |
◆ AddProcessObject()
◆ Execute()
virtual void itk::simple::Command::Execute |
( |
| ) |
|
|
virtual |
◆ GetName()
std::string itk::simple::Command::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ RemoveProcessObject()
◆ SetName()
void itk::simple::Command::SetName |
( |
const std::string & | name | ) |
|
|
overridevirtual |
◆ itk::simple::ProcessObject
The documentation for this class was generated from the following file: