MeVisLabToolboxReference
ml::ITKCommandIterationUpdate Class Reference

Implementation of the Command Pattern to be invoked every iteration. More...

#include <mlITKCommandIterationUpdate.h>

List of all members.

Public Types

typedef ITKCommandIterationUpdate Self
 Standard Self typedef.
typedef itk::Command Superclass
 Standard "Superclass" typedef.
typedef itk::SmartPointer< SelfPointer
 Smart pointer typedef support.
typedef itk::SmartPointer
< const Self
ConstPointer
 ConstSmart pointer typedef support.

Public Member Functions

 itkTypeMacro (ITKCommandIterationUpdate,::itk::Command)
 Run-time type information (and related methods).
 itkNewMacro (Self)
 Method for creation through the object factory.
void setObject (itk::Object *object)
 Set object to be observed.
void setStringField (StringField *strField)
 Set string field to be updated on object changes.
StringFieldgetStringField () const
 Get string field to be updated on object changes or NULL if no field is set.
void setEndEventField (Field *strField)
 Set field to be notified on EndEvents.
FieldgetEndEventField () const
 Get field to be notified on EndEvents or NULL if no field is set.
void reset ()
 Reset update state.

Protected Member Functions

 ITKCommandIterationUpdate ()
 Constructor. Purposely implemented protected.
 ~ITKCommandIterationUpdate ()
 Destructor. Purposely implemented protected.
virtual void Execute (itk::Object *obj, const itk::EventObject &event)
 Wrapper call to the const version.
virtual void Execute (const itk::Object *obj, const itk::EventObject &event)
 Gets object state and updates _stringField with process information if stringField is valid.

Detailed Description

Implementation of the Command Pattern to be invoked every iteration.

Definition at line 29 of file mlITKCommandIterationUpdate.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> ml::ITKCommandIterationUpdate::ConstPointer

ConstSmart pointer typedef support.

Definition at line 43 of file mlITKCommandIterationUpdate.h.

typedef itk::SmartPointer<Self> ml::ITKCommandIterationUpdate::Pointer

Smart pointer typedef support.

Definition at line 40 of file mlITKCommandIterationUpdate.h.

Standard Self typedef.

Definition at line 34 of file mlITKCommandIterationUpdate.h.

Standard "Superclass" typedef.

Definition at line 37 of file mlITKCommandIterationUpdate.h.


Constructor & Destructor Documentation

ml::ITKCommandIterationUpdate::ITKCommandIterationUpdate ( ) [protected]

Constructor. Purposely implemented protected.

ml::ITKCommandIterationUpdate::~ITKCommandIterationUpdate ( ) [protected]

Destructor. Purposely implemented protected.


Member Function Documentation

virtual void ml::ITKCommandIterationUpdate::Execute ( itk::Object *  obj,
const itk::EventObject &  event 
) [protected, virtual]

Wrapper call to the const version.

virtual void ml::ITKCommandIterationUpdate::Execute ( const itk::Object *  obj,
const itk::EventObject &  event 
) [protected, virtual]

Gets object state and updates _stringField with process information if stringField is valid.

Field* ml::ITKCommandIterationUpdate::getEndEventField ( ) const

Get field to be notified on EndEvents or NULL if no field is set.

StringField* ml::ITKCommandIterationUpdate::getStringField ( ) const

Get string field to be updated on object changes or NULL if no field is set.

ml::ITKCommandIterationUpdate::itkNewMacro ( Self  )

Method for creation through the object factory.

ml::ITKCommandIterationUpdate::itkTypeMacro ( ITKCommandIterationUpdate  ,
::itk::Command   
)

Run-time type information (and related methods).

void ml::ITKCommandIterationUpdate::reset ( )

Reset update state.

void ml::ITKCommandIterationUpdate::setEndEventField ( Field strField)

Set field to be notified on EndEvents.

Replacing the string field or resetting it to NULL is legal.

void ml::ITKCommandIterationUpdate::setObject ( itk::Object *  object)

Set object to be observed.

Resetting the object to NULL or replacement by a new one is legal.

void ml::ITKCommandIterationUpdate::setStringField ( StringField strField)

Set string field to be updated on object changes.

Replacing the string field or resetting it to NULL is legal.


The documentation for this class was generated from the following file: