ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::WatershedMiniPipelineProgressCommand Class Reference

#include <itkWatershedMiniPipelineProgressCommand.h>

+ Inheritance diagram for itk::WatershedMiniPipelineProgressCommand:
+ Collaboration diagram for itk::WatershedMiniPipelineProgressCommand:

Detailed Description

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 33 of file itkWatershedMiniPipelineProgressCommand.h.

Public Member Functions

virtual void Execute (Object *caller, const EventObject &event) ITK_OVERRIDE
 
virtual void Execute (const Object *caller, const EventObject &event) ITK_OVERRIDE
 
void SetFilter (ProcessObject *p)
 
const ProcessObjectGetFilter ()
 
virtual void SetCount (double _arg)
 
virtual double GetCount () const
 
virtual void SetNumberOfFilters (double _arg)
 
virtual double GetNumberOfFilters () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
 WatershedMiniPipelineProgressCommand ()
 
virtual ~WatershedMiniPipelineProgressCommand ()
 
- Protected Member Functions inherited from itk::Command
 Command ()
 
 ~Command ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
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
 
ProcessObjectm_Filter
 
double m_NumberOfFilters
 
typedef
WatershedMiniPipelineProgressCommand 
Self
 
typedef Command Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
virtual const char * GetNameOfClass () const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
static Pointer New ()
 

Additional Inherited Members

- Public Types inherited from itk::Command
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Command Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

Smart pointer declaration methods

Definition at line 40 of file itkWatershedMiniPipelineProgressCommand.h.

Smart pointer declaration methods

Definition at line 39 of file itkWatershedMiniPipelineProgressCommand.h.

Smart pointer declaration methods

Definition at line 37 of file itkWatershedMiniPipelineProgressCommand.h.

Smart pointer declaration methods

Definition at line 38 of file itkWatershedMiniPipelineProgressCommand.h.

Constructor & Destructor Documentation

itk::WatershedMiniPipelineProgressCommand::WatershedMiniPipelineProgressCommand ( )
inlineprotected

Definition at line 70 of file itkWatershedMiniPipelineProgressCommand.h.

virtual itk::WatershedMiniPipelineProgressCommand::~WatershedMiniPipelineProgressCommand ( )
inlineprotectedvirtual

Definition at line 72 of file itkWatershedMiniPipelineProgressCommand.h.

Member Function Documentation

virtual::itk::LightObject::Pointer itk::WatershedMiniPipelineProgressCommand::CreateAnother ( void  ) const
virtual

Smart pointer declaration methods

Reimplemented from itk::Object.

virtual void itk::WatershedMiniPipelineProgressCommand::Execute ( Object caller,
const EventObject event 
)
virtual

Standard Command virtual methods

Implements itk::Command.

virtual void itk::WatershedMiniPipelineProgressCommand::Execute ( const Object caller,
const EventObject event 
)
virtual

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.

virtual double itk::WatershedMiniPipelineProgressCommand::GetCount ( ) const
virtual

Set/Get the base count for stepping through filter progress values

const ProcessObject* itk::WatershedMiniPipelineProgressCommand::GetFilter ( )
inline

Set/Get the filter whose UpdateProgress will be set by this command object

Definition at line 54 of file itkWatershedMiniPipelineProgressCommand.h.

References m_Filter.

virtual const char* itk::WatershedMiniPipelineProgressCommand::GetNameOfClass ( ) const
virtual

Smart pointer declaration methods

Reimplemented from itk::Command.

virtual double itk::WatershedMiniPipelineProgressCommand::GetNumberOfFilters ( ) const
virtual

Set/Get the number of filters that this command will expect to be observing

static Pointer itk::WatershedMiniPipelineProgressCommand::New ( )
static

Smart pointer declaration methods

virtual void itk::WatershedMiniPipelineProgressCommand::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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 void itk::WatershedMiniPipelineProgressCommand::SetCount ( double  _arg)
virtual

Set/Get the base count for stepping through filter progress values

void itk::WatershedMiniPipelineProgressCommand::SetFilter ( ProcessObject p)
inline

Set/Get the filter whose UpdateProgress will be set by this command object

Definition at line 52 of file itkWatershedMiniPipelineProgressCommand.h.

References m_Filter.

virtual void itk::WatershedMiniPipelineProgressCommand::SetNumberOfFilters ( double  _arg)
virtual

Set/Get the number of filters that this command will expect to be observing

Member Data Documentation

double itk::WatershedMiniPipelineProgressCommand::m_Count
private

Definition at line 76 of file itkWatershedMiniPipelineProgressCommand.h.

ProcessObject* itk::WatershedMiniPipelineProgressCommand::m_Filter
private

Definition at line 77 of file itkWatershedMiniPipelineProgressCommand.h.

Referenced by GetFilter(), and SetFilter().

double itk::WatershedMiniPipelineProgressCommand::m_NumberOfFilters
private

Definition at line 78 of file itkWatershedMiniPipelineProgressCommand.h.


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