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

itk::LoggerOutput Class Reference
[OS System Objects]

This class is meant for overriding itk::OutputWindow to redirect messages to itk::Logger. More...

#include <itkLoggerOutput.h>

Inheritance diagram for itk::LoggerOutput:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef LoggerOutput Self
typedef OutputWindow Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef LoggerLoggerType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void DisplayText (const char *t)
virtual void DisplayErrorText (const char *t)
virtual void DisplayWarningText (const char *t)
virtual void DisplayGenericOutputText (const char *t)
virtual void DisplayDebugText (const char *t)
virtual void SetLogger (LoggerType _arg)
virtual LoggerType GetLogger ()
virtual void OverrideITKWindow ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 LoggerOutput ()
virtual ~LoggerOutput ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

This class is meant for overriding itk::OutputWindow to redirect messages to itk::Logger.

Text messages that the system should display to the user are sent to this object (or subclasses of this object).

Author:
Hee-Su Kim, Compute Science Dept. Kyungpook National University, ISIS Center, Georgetown University.

Definition at line 43 of file itkLoggerOutput.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::LoggerOutput::ConstPointer
 

Reimplemented from itk::OutputWindow.

Definition at line 50 of file itkLoggerOutput.h.

typedef Logger* itk::LoggerOutput::LoggerType
 

Definition at line 57 of file itkLoggerOutput.h.

typedef SmartPointer<Self> itk::LoggerOutput::Pointer
 

Reimplemented from itk::OutputWindow.

Definition at line 49 of file itkLoggerOutput.h.

typedef LoggerOutput itk::LoggerOutput::Self
 

Standard class typedefs.

Reimplemented from itk::OutputWindow.

Definition at line 47 of file itkLoggerOutput.h.

typedef OutputWindow itk::LoggerOutput::Superclass
 

Reimplemented from itk::OutputWindow.

Definition at line 48 of file itkLoggerOutput.h.


Constructor & Destructor Documentation

itk::LoggerOutput::LoggerOutput  )  [inline, protected]
 

Definition at line 92 of file itkLoggerOutput.h.

virtual itk::LoggerOutput::~LoggerOutput  )  [inline, protected, virtual]
 

Definition at line 93 of file itkLoggerOutput.h.


Member Function Documentation

virtual void itk::LoggerOutput::DisplayDebugText const char *  t  )  [virtual]
 

Send a string as a debug message to display. The default implementation calls DisplayText() but subclasses could present this message differently.

Reimplemented from itk::OutputWindow.

virtual void itk::LoggerOutput::DisplayErrorText const char *  t  )  [virtual]
 

Send a string as an error message to display. The default implementation calls DisplayText() but subclasses could present this message differently.

Reimplemented from itk::OutputWindow.

virtual void itk::LoggerOutput::DisplayGenericOutputText const char *  t  )  [virtual]
 

Send a string as a message to display. The default implementation calls DisplayText() but subclasses could present this message differently.

Reimplemented from itk::OutputWindow.

virtual void itk::LoggerOutput::DisplayText const char *  t  )  [virtual]
 

Send a string to display.

Reimplemented from itk::OutputWindow.

virtual void itk::LoggerOutput::DisplayWarningText const char *  t  )  [virtual]
 

Send a string as a warningmessage to display. The default implementation calls DisplayText() but subclasses could present this message differently.

Reimplemented from itk::OutputWindow.

virtual LoggerType itk::LoggerOutput::GetLogger  )  [virtual]
 

virtual const char* itk::LoggerOutput::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::OutputWindow.

Pointer itk::LoggerOutput::New  )  [static]
 

This is a singleton pattern New. There will only be ONE reference to a OutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.

Reimplemented from itk::OutputWindow.

virtual void itk::LoggerOutput::OverrideITKWindow  )  [inline, virtual]
 

Definition at line 86 of file itkLoggerOutput.h.

References itk::OutputWindow::SetInstance().

virtual void itk::LoggerOutput::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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::OutputWindow.

virtual void itk::LoggerOutput::SetLogger LoggerType  _arg  )  [virtual]
 


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:41:27 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000