18#include <itkCommand.h>
87 unsigned long _observerHandleStartEvent;
90 unsigned long _observerHandleIterationEvent;
93 unsigned long _observerHandleEndEvent;
96 unsigned long _registered;
Base class for all fields used in the ML.
Implementation of the Command Pattern to be invoked every iteration.
void setEndEventField(Field *strField)
Set field to be notified on EndEvents.
~ITKCommandIterationUpdate()
Destructor. Purposely implemented protected.
void Execute(itk::Object *obj, const itk::EventObject &event) override
Wrapper call to the const version.
void reset()
Reset update state.
itkNewMacro(Self)
Method for creation through the object factory.
void setObject(itk::Object *object)
Set object to be observed.
itk::SmartPointer< const Self > ConstPointer
ConstSmart pointer typedef support.
itk::SmartPointer< Self > Pointer
Smart pointer typedef support.
ITKCommandIterationUpdate Self
Standard Self typedef.
void Execute(const itk::Object *obj, const itk::EventObject &event) override
Gets object state and updates _stringField with process information if stringField is valid.
void setStringField(StringField *strField)
Set string field to be updated on object changes.
Field * getEndEventField() const
Get field to be notified on EndEvents or NULL if no field is set.
itk::Command Superclass
Standard "Superclass" typedef.
StringField * getStringField() const
Get string field to be updated on object changes or NULL if no field is set.
itkTypeMacro(ITKCommandIterationUpdate, ::itk::Command)
Run-time type information (and related methods).
ITKCommandIterationUpdate()
Constructor. Purposely implemented protected.
Field to encapsulate a string value.
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.