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

itk::StdStreamLogOutput Class Reference
[OS System Objects]

Class StdStreamLogOutput represents a standard stream output stream. This class provides thread safety for the standard stream output stream. More...

#include <itkStdStreamLogOutput.h>

Inheritance diagram for itk::StdStreamLogOutput:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef StdStreamLogOutput Self
typedef LogOutput Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef std::ostream StreamType
typedef std::ostream * StreamPointerType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual StreamPointerType GetStream ()
void SetStream (StreamType &Stream)
virtual void Flush ()
virtual void Write (double timestamp)
virtual void Write (std::string const &content)
virtual void Write (std::string const &content, double timestamp)

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

Class StdStreamLogOutput represents a standard stream output stream. This class provides thread safety for the standard stream output stream.

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

Definition at line 45 of file itkStdStreamLogOutput.h.


Member Typedef Documentation

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

Reimplemented from itk::LogOutput.

Definition at line 53 of file itkStdStreamLogOutput.h.

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

Reimplemented from itk::LogOutput.

Definition at line 52 of file itkStdStreamLogOutput.h.

typedef StdStreamLogOutput itk::StdStreamLogOutput::Self
 

Smart pointer typedef support.

Reimplemented from itk::LogOutput.

Definition at line 50 of file itkStdStreamLogOutput.h.

typedef std::ostream* itk::StdStreamLogOutput::StreamPointerType
 

Definition at line 56 of file itkStdStreamLogOutput.h.

typedef std::ostream itk::StdStreamLogOutput::StreamType
 

Definition at line 55 of file itkStdStreamLogOutput.h.

typedef LogOutput itk::StdStreamLogOutput::Superclass
 

Reimplemented from itk::LogOutput.

Definition at line 51 of file itkStdStreamLogOutput.h.


Constructor & Destructor Documentation

itk::StdStreamLogOutput::StdStreamLogOutput  )  [protected]
 

Constructor

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

Destructor


Member Function Documentation

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

flush a buffer

Implements itk::LogOutput.

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

Standard part of all itk objects.

Reimplemented from itk::Object.

virtual StreamPointerType itk::StdStreamLogOutput::GetStream  )  [virtual]
 

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

Method for creation through the object factory.

Reimplemented from itk::Object.

void itk::StdStreamLogOutput::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::Object.

void itk::StdStreamLogOutput::SetStream StreamType Stream  ) 
 

Set a standard stream pointer

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

Write to a buffer

Implements itk::LogOutput.

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

Write to a buffer

Implements itk::LogOutput.

virtual void itk::StdStreamLogOutput::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 02:26:26 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000