#include <itkCommand.h>
Inheritance diagram for itk::Command:
Public Types | |
typedef Command | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | Execute (Object *caller, const EventObject &event)=0 |
virtual void | Execute (const Object *caller, const EventObject &event)=0 |
Protected Member Functions | |
Command () | |
~Command () |
Command is an implementation of the command design pattern that is used in callbacks (such as StartMethod(), ProgressMethod(), and EndMethod()) in ITK. itkObject implements a Subject/Observer pattern. When a subject needs to notify a observer, it does so using a itkCommand. The Execute method is called to run the command.
Definition at line 40 of file itkCommand.h.
|
Reimplemented from itk::Object. Reimplemented in itk::WatershedMiniPipelineProgressCommand. Definition at line 47 of file itkCommand.h. |
|
Reimplemented from itk::Object. Reimplemented in itk::WatershedMiniPipelineProgressCommand, itk::MemberCommand< T >, itk::ReceptorMemberCommand< T >, itk::SimpleMemberCommand< T >, itk::SimpleConstMemberCommand< T >, and itk::CStyleCommand. Definition at line 46 of file itkCommand.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Reimplemented in itk::WatershedMiniPipelineProgressCommand, itk::MemberCommand< T >, itk::ReceptorMemberCommand< T >, itk::SimpleMemberCommand< T >, itk::SimpleConstMemberCommand< T >, and itk::CStyleCommand. Definition at line 44 of file itkCommand.h. |
|
Reimplemented from itk::Object. Reimplemented in itk::WatershedMiniPipelineProgressCommand. Definition at line 45 of file itkCommand.h. |
|
|
|
|
|
Abstract method that defines the action to be taken by the command. This variant is expected to be used when requests comes from a const Object Implemented in itk::WatershedMiniPipelineProgressCommand, itk::MemberCommand< T >, itk::ReceptorMemberCommand< T >, itk::SimpleMemberCommand< T >, itk::SimpleConstMemberCommand< T >, and itk::CStyleCommand. |
|
Abstract method that defines the action to be taken by the command. Implemented in itk::WatershedMiniPipelineProgressCommand, itk::MemberCommand< T >, itk::ReceptorMemberCommand< T >, itk::SimpleMemberCommand< T >, itk::SimpleConstMemberCommand< T >, and itk::CStyleCommand. |
|
Run-time type information (and related methods). Reimplemented from itk::Object. Reimplemented in itk::WatershedMiniPipelineProgressCommand, itk::MemberCommand< T >, itk::ReceptorMemberCommand< T >, itk::SimpleMemberCommand< T >, itk::SimpleConstMemberCommand< T >, and itk::CStyleCommand. |