SimpleITK
1.0.1
|
An implementation of the Command design pattern for callback. More...
#include <sitkCommand.h>
Public Member Functions | |
Command () | |
Default Constructor. More... | |
virtual void | Execute (void) |
virtual std::string | GetName () const |
virtual void | SetName (const std::string &name) |
virtual | ~Command (void) |
Protected Member Functions | |
virtual size_t | AddProcessObject (itk::simple::ProcessObject *o) |
virtual bool | GetOwnedByProcessObjects () const |
virtual void | OwnedByProcessObjectsOff () |
virtual void | OwnedByProcessObjectsOn () |
virtual size_t | RemoveProcessObject (const itk::simple::ProcessObject *o) |
virtual void | SetOwnedByProcessObjects (bool o) |
Protected Member Functions inherited from itk::simple::NonCopyable | |
NonCopyable () | |
Private Attributes | |
std::string | m_Name |
bool | m_OwnedByProcessObjects |
std::set< itk::simple::ProcessObject * > | m_ReferencedObjects |
Friends | |
class | itk::simple::ProcessObject |
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 Commands and Events for SimpleITK.
Definition at line 44 of file sitkCommand.h.
itk::simple::Command::Command | ( | ) |
Default Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
|
virtual |
The method that defines action to be taken by the command
Reimplemented in itk::simple::FunctionCommand.
|
inlinevirtual |
Set/Get Command Name
Definition at line 56 of file sitkCommand.h.
|
inlineprotectedvirtual |
Definition at line 76 of file sitkCommand.h.
|
inlineprotectedvirtual |
Definition at line 78 of file sitkCommand.h.
|
inlineprotectedvirtual |
Definition at line 77 of file sitkCommand.h.
|
protectedvirtual |
|
inlinevirtual |
Definition at line 57 of file sitkCommand.h.
|
inlineprotectedvirtual |
Definition at line 75 of file sitkCommand.h.
|
friend |
Definition at line 64 of file sitkCommand.h.
|
private |
Definition at line 89 of file sitkCommand.h.
|
private |
Definition at line 88 of file sitkCommand.h.
|
private |
Definition at line 86 of file sitkCommand.h.