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

itk::LoggerManager Class Reference
[OS System Objects]

Class LoggerManager is meant for centrally managing loggers. More...

#include <itkLoggerManager.h>

Inheritance diagram for itk::LoggerManager:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef LoggerManager Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Logger::PriorityLevelType PriorityLevelType
typedef Logger::OutputType OutputType
typedef Logger::Pointer LoggerPointer
typedef ThreadLogger::Pointer ThreadLoggerPointer
typedef std::string NameType

Public Member Functions

virtual const char * GetNameOfClass () const
LoggerPointer CreateLogger (const NameType &name, PriorityLevelType level, PriorityLevelType levelForFlushing=LoggerBase::MUSTFLUSH)
ThreadLoggerPointer CreateThreadLogger (const NameType &name, PriorityLevelType level, PriorityLevelType levelForFlushing=LoggerBase::MUSTFLUSH)
void AddLogger (const NameType &name, Logger *logger)
LoggerGetLogger (const NameType &name)
void SetPriorityLevel (PriorityLevelType level)
void SetLevelForFlushing (PriorityLevelType level)
void AddLogOutput (OutputType *output)
void Write (PriorityLevelType level, std::string const &content)
void Flush ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 LoggerManager ()
virtual ~LoggerManager ()
void PrintSelf (std::ostream &s, Indent indent) const

Detailed Description

Class LoggerManager is meant for centrally managing loggers.

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

Definition at line 52 of file itkLoggerManager.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

Definition at line 60 of file itkLoggerManager.h.

typedef Logger::Pointer itk::LoggerManager::LoggerPointer
 

Definition at line 72 of file itkLoggerManager.h.

typedef std::string itk::LoggerManager::NameType
 

Definition at line 75 of file itkLoggerManager.h.

typedef Logger::OutputType itk::LoggerManager::OutputType
 

Definition at line 70 of file itkLoggerManager.h.

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

Reimplemented from itk::Object.

Definition at line 59 of file itkLoggerManager.h.

typedef Logger::PriorityLevelType itk::LoggerManager::PriorityLevelType
 

Definition at line 68 of file itkLoggerManager.h.

typedef LoggerManager itk::LoggerManager::Self
 

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 57 of file itkLoggerManager.h.

typedef Object itk::LoggerManager::Superclass
 

Reimplemented from itk::Object.

Definition at line 58 of file itkLoggerManager.h.

typedef ThreadLogger::Pointer itk::LoggerManager::ThreadLoggerPointer
 

Definition at line 73 of file itkLoggerManager.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 107 of file itkLoggerManager.h.

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

Destructor

Definition at line 110 of file itkLoggerManager.h.


Member Function Documentation

void itk::LoggerManager::AddLogger const NameType name,
Logger logger
 

Registers a logger

void itk::LoggerManager::AddLogOutput OutputType output  ) 
 

LoggerPointer itk::LoggerManager::CreateLogger const NameType name,
PriorityLevelType  level,
PriorityLevelType  levelForFlushing = LoggerBase::MUSTFLUSH
 

create a logger and add it into LoggerManager

ThreadLoggerPointer itk::LoggerManager::CreateThreadLogger const NameType name,
PriorityLevelType  level,
PriorityLevelType  levelForFlushing = LoggerBase::MUSTFLUSH
 

create a thread logger and add it into LoggerManager

void itk::LoggerManager::Flush  ) 
 

Logger* itk::LoggerManager::GetLogger const NameType name  ) 
 

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

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

New macro for creation of through a Smart Pointer

Reimplemented from itk::Object.

void itk::LoggerManager::PrintSelf std::ostream &  s,
Indent  indent
const [protected, virtual]
 

Print contents of a LoggerManager

Reimplemented from itk::Object.

void itk::LoggerManager::SetLevelForFlushing PriorityLevelType  level  ) 
 

void itk::LoggerManager::SetPriorityLevel PriorityLevelType  level  ) 
 

void itk::LoggerManager::Write PriorityLevelType  level,
std::string const &  content
 


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