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 ()
bool GetQuiet ()
int GetSteps ()
void QuietOff ()
void QuietOn ()
void SetIterations (int val)
void SetQuiet (bool val)
void SetSteps (int val)
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 126 of file itkSimpleFilterWatcher.h.

Referenced by StartFilter().

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

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

Definition at line 116 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 86 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 107 of file itkSimpleFilterWatcher.h.

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

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

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

Definition at line 122 of file itkSimpleFilterWatcher.h.

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

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

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

Definition at line 111 of file itkSimpleFilterWatcher.h.

Referenced by ShowProgress().

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

Get a reference to the TimeProbe

Definition at line 129 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 94 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 93 of file itkSimpleFilterWatcher.h.

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

Set/Get the number of iterations completed.

Definition at line 115 of file itkSimpleFilterWatcher.h.

Referenced by StartFilter().

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

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

Definition at line 121 of file itkSimpleFilterWatcher.h.

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

Set/Get the steps completed.

Definition at line 110 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 159 of file itkSimpleFilterWatcher.h.

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

Callback method to show the IterationEvent

Definition at line 165 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 control the verbosity of the messages. Quiet reporting limits the information emitted at a ProgressEvent.

Definition at line 101 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 100 of file itkSimpleFilterWatcher.h.


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

Generated at Sat Apr 17 01:32:44 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000