Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::XMLFilterWatcher Class Reference

Simple mechanism for monitoring the pipeline events of a filter and reporting these events to std::cout. Formats reports with xml. More...

#include <itkXMLFilterWatcher.h>

Inheritance diagram for itk::XMLFilterWatcher:

Inheritance graph
[legend]
Collaboration diagram for itk::XMLFilterWatcher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

std::string GetComment ()
const char * GetNameOfClass ()
ProcessObjectGetProcess ()
TimeProbeGetTimeProbe ()
 XMLFilterWatcher (ProcessObject *o, const char *comment="")
int GetIterations ()
void SetIterations (int val)
bool GetQuiet ()
void SetQuiet (bool val)
int GetSteps ()
void SetSteps (int val)
void QuietOff ()
void QuietOn ()
void TestAbortOff ()
void TestAbortOn ()

Protected Member Functions

virtual void ShowAbort ()
virtual void ShowIteration ()
virtual void EndFilter ()
virtual void ShowProgress ()
virtual void StartFilter ()


Detailed Description

Simple mechanism for monitoring the pipeline events of a filter and reporting these events to std::cout. Formats reports with xml.

Definition at line 30 of file itkXMLFilterWatcher.h.


Constructor & Destructor Documentation

itk::XMLFilterWatcher::XMLFilterWatcher ( ProcessObject o,
const char *  comment = "" 
) [inline]

Definition at line 33 of file itkXMLFilterWatcher.h.


Member Function Documentation

virtual void itk::XMLFilterWatcher::EndFilter (  )  [inline, protected, virtual]

std::string itk::SimpleFilterWatcher::GetComment (  )  [inline, inherited]

Get the comment for the watcher.

Definition at line 125 of file itkSimpleFilterWatcher.h.

Referenced by StartFilter().

int itk::SimpleFilterWatcher::GetIterations (  )  [inline, inherited]

Set/Get the number of iterations completed.

Definition at line 115 of file itkSimpleFilterWatcher.h.

const char* itk::SimpleFilterWatcher::GetNameOfClass (  )  [inline, inherited]

Method to get the name of the class be monitored by this SimpleFilterWatcher

Definition at line 85 of file itkSimpleFilterWatcher.h.

ProcessObject* itk::SimpleFilterWatcher::GetProcess (  )  [inline, inherited]

Methods to access member data Get a pointer to the process object being watched.

Definition at line 106 of file itkSimpleFilterWatcher.h.

Referenced by EndFilter(), ShowProgress(), and StartFilter().

bool itk::SimpleFilterWatcher::GetQuiet (  )  [inline, inherited]

Set/Get the quiet mode boolean. If true, verbose progess is reported.

Definition at line 121 of file itkSimpleFilterWatcher.h.

Referenced by EndFilter(), ShowProgress(), and StartFilter().

int itk::SimpleFilterWatcher::GetSteps (  )  [inline, inherited]

Set/Get the steps completed.

Definition at line 110 of file itkSimpleFilterWatcher.h.

Referenced by ShowProgress().

TimeProbe& itk::SimpleFilterWatcher::GetTimeProbe (  )  [inline, inherited]

Get a reference to the TimeProbe

Definition at line 128 of file itkSimpleFilterWatcher.h.

Referenced by EndFilter(), and StartFilter().

void itk::SimpleFilterWatcher::QuietOff (  )  [inline, inherited]

Methods to control the verbosity of the messages. Quiet reporting limits the information emitted at a ProgressEvent.

Definition at line 93 of file itkSimpleFilterWatcher.h.

void itk::SimpleFilterWatcher::QuietOn (  )  [inline, inherited]

Methods to control the verbosity of the messages. Quiet reporting limits the information emitted at a ProgressEvent.

Definition at line 92 of file itkSimpleFilterWatcher.h.

void itk::SimpleFilterWatcher::SetIterations ( int  val  )  [inline, inherited]

Set/Get the number of iterations completed.

Definition at line 114 of file itkSimpleFilterWatcher.h.

Referenced by StartFilter().

void itk::SimpleFilterWatcher::SetQuiet ( bool  val  )  [inline, inherited]

Set/Get the quiet mode boolean. If true, verbose progess is reported.

Definition at line 120 of file itkSimpleFilterWatcher.h.

void itk::SimpleFilterWatcher::SetSteps ( int  val  )  [inline, inherited]

Set/Get the steps completed.

Definition at line 109 of file itkSimpleFilterWatcher.h.

Referenced by ShowProgress(), and StartFilter().

virtual void itk::SimpleFilterWatcher::ShowAbort (  )  [inline, protected, virtual, inherited]

Callback method to show the AbortEvent

Definition at line 158 of file itkSimpleFilterWatcher.h.

virtual void itk::SimpleFilterWatcher::ShowIteration (  )  [inline, protected, virtual, inherited]

Callback method to show the IterationEvent

Definition at line 164 of file itkSimpleFilterWatcher.h.

virtual void itk::XMLFilterWatcher::ShowProgress (  )  [inline, protected, virtual]

virtual void itk::XMLFilterWatcher::StartFilter (  )  [inline, protected, virtual]

void itk::SimpleFilterWatcher::TestAbortOff (  )  [inline, inherited]

Methods to use to test the AbortEvent of the a filter. If TestAbort is on, the filter being watched will be aborted when the progress reaches 30%.

Definition at line 100 of file itkSimpleFilterWatcher.h.

void itk::SimpleFilterWatcher::TestAbortOn (  )  [inline, inherited]

Methods to use to test the AbortEvent of the a filter. If TestAbort is on, the filter being watched will be aborted when the progress reaches 30%.

Definition at line 99 of file itkSimpleFilterWatcher.h.


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

Generated at Tue Sep 15 14:52:19 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000