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

itk::MultipleLogOutput Class Reference
[OS System Objects]

Class MultipleLogOutput allows writing simultaneously to multiple streams. Note that the class derives from std::streambuf and contains a std::set<> of LogOutput. More...

#include <itkMultipleLogOutput.h>

Inheritance diagram for itk::MultipleLogOutput:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef MultipleLogOutput Self
typedef LogOutput Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef LogOutput OutputType

Public Member Functions

virtual const char * GetNameOfClass () const
void AddLogOutput (OutputType *output)
virtual void Flush ()
virtual void Write (double timestamp)
virtual void Write (const std::string &content)
virtual void Write (const std::string &content, double timestamp)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MultipleLogOutput ()
virtual ~MultipleLogOutput ()

Detailed Description

Class MultipleLogOutput allows writing simultaneously to multiple streams. Note that the class derives from std::streambuf and contains a std::set<> of LogOutput.

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

Definition at line 48 of file itkMultipleLogOutput.h.


Member Typedef Documentation

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

Reimplemented from itk::LogOutput.

Definition at line 56 of file itkMultipleLogOutput.h.

typedef LogOutput itk::MultipleLogOutput::OutputType
 

Definition at line 58 of file itkMultipleLogOutput.h.

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

Reimplemented from itk::LogOutput.

Definition at line 55 of file itkMultipleLogOutput.h.

typedef MultipleLogOutput itk::MultipleLogOutput::Self
 

Smart pointer typedef support.

Reimplemented from itk::LogOutput.

Definition at line 53 of file itkMultipleLogOutput.h.

typedef LogOutput itk::MultipleLogOutput::Superclass
 

Reimplemented from itk::LogOutput.

Definition at line 54 of file itkMultipleLogOutput.h.


Constructor & Destructor Documentation

itk::MultipleLogOutput::MultipleLogOutput  )  [protected]
 

Constructor

virtual itk::MultipleLogOutput::~MultipleLogOutput  )  [protected, virtual]
 

Destructor


Member Function Documentation

void itk::MultipleLogOutput::AddLogOutput OutputType output  ) 
 

Register a additional output stream into the list of LogOutputs to write to. The messages will be sent to the streams in the same order that the streams have been added here.

virtual void itk::MultipleLogOutput::Flush  )  [virtual]
 

Broadcast a flush operation to all the output streams

Implements itk::LogOutput.

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

Standard part of all itk objects.

Reimplemented from itk::Object.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

virtual void itk::MultipleLogOutput::Write const std::string &  content,
double  timestamp
[virtual]
 

Write to a buffer

Implements itk::LogOutput.

virtual void itk::MultipleLogOutput::Write const std::string &  content  )  [virtual]
 

Write to multiple outputs

Implements itk::LogOutput.

virtual void itk::MultipleLogOutput::Write double  timestamp  )  [virtual]
 

Write to multiple outputs

Implements itk::LogOutput.


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