#include <itkWatershedMiniPipelineProgressCommand.h>
A specialized Command object for updating the progress of a MiniPipeline. Follows the progress of a series of filters and calls UpdateProgress on another filter (i.e. the filter implementing the mini-pipeline).
Definition at line 34 of file itkWatershedMiniPipelineProgressCommand.h.
Public Member Functions | |
void | Execute (const Object *caller, const EventObject &event) override |
void | Execute (Object *caller, const EventObject &event) override |
void | SetFilter (ProcessObject *p) |
const ProcessObject * | GetFilter () |
virtual void | SetCount (double _arg) |
virtual double | GetCount () const |
virtual void | SetNumberOfFilters (unsigned int _arg) |
virtual unsigned int | GetNumberOfFilters () const |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
WatershedMiniPipelineProgressCommand ()=default | |
~WatershedMiniPipelineProgressCommand () override=default | |
![]() | |
Command () | |
~Command () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
double | m_Count { 0.0 } |
ProcessObject * | m_Filter { nullptr } |
unsigned int | m_NumberOfFilters { 1 } |
using | Self = WatershedMiniPipelineProgressCommand |
using | Superclass = Command |
using | Pointer = itk::SmartPointer<Self> |
using | ConstPointer = itk::SmartPointer<const Self> |
const char * | GetNameOfClass () const override |
virtual::itk::LightObject::Pointer | CreateAnother () const |
static Pointer | New () |
Additional Inherited Members | |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Command |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Smart pointer declaration methods
Definition at line 41 of file itkWatershedMiniPipelineProgressCommand.h.
Smart pointer declaration methods
Definition at line 40 of file itkWatershedMiniPipelineProgressCommand.h.
Smart pointer declaration methods
Definition at line 38 of file itkWatershedMiniPipelineProgressCommand.h.
Smart pointer declaration methods
Definition at line 39 of file itkWatershedMiniPipelineProgressCommand.h.
|
protecteddefault |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Smart pointer declaration methods
Reimplemented from itk::Object.
|
overridevirtual |
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
Implements itk::Command.
|
overridevirtual |
Standard Command virtual methods
Implements itk::Command.
|
virtual |
Set/Get the base count for stepping through filter progress values
|
inline |
Set/Get the filter whose UpdateProgress will be set by this command object
Definition at line 61 of file itkWatershedMiniPipelineProgressCommand.h.
References m_Filter.
|
overridevirtual |
Smart pointer declaration methods
Reimplemented from itk::Command.
References WatershedMiniPipelineProgressCommand().
|
virtual |
Set/Get the number of filters that this command will expect to be observing
|
static |
Smart pointer declaration methods
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
virtual |
Set/Get the base count for stepping through filter progress values
|
inline |
Set/Get the filter whose UpdateProgress will be set by this command object
Definition at line 56 of file itkWatershedMiniPipelineProgressCommand.h.
References m_Filter.
|
virtual |
Set/Get the number of filters that this command will expect to be observing
|
private |
Definition at line 85 of file itkWatershedMiniPipelineProgressCommand.h.
|
private |
Definition at line 86 of file itkWatershedMiniPipelineProgressCommand.h.
Referenced by GetFilter(), and SetFilter().
|
private |
Definition at line 87 of file itkWatershedMiniPipelineProgressCommand.h.