ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLoggerManager.h>
Used for centrally managing loggers.
Definition at line 42 of file itkLoggerManager.h.
typedef SmartPointer< const Self > itk::LoggerManager::ConstPointer |
Reimplemented from itk::Object.
Definition at line 49 of file itkLoggerManager.h.
typedef std::map< NameType, LoggerPointer > itk::LoggerManager::ContainerType [private] |
Definition at line 106 of file itkLoggerManager.h.
Definition at line 61 of file itkLoggerManager.h.
typedef std::string itk::LoggerManager::NameType |
Definition at line 64 of file itkLoggerManager.h.
Definition at line 59 of file itkLoggerManager.h.
typedef SmartPointer< Self > itk::LoggerManager::Pointer |
Reimplemented from itk::Object.
Definition at line 48 of file itkLoggerManager.h.
Definition at line 55 of file itkLoggerManager.h.
Smart pointer typedef support.
Reimplemented from itk::Object.
Definition at line 46 of file itkLoggerManager.h.
typedef Object itk::LoggerManager::Superclass |
Reimplemented from itk::Object.
Definition at line 47 of file itkLoggerManager.h.
Definition at line 62 of file itkLoggerManager.h.
itk::LoggerManager::LoggerManager | ( | ) | [inline, protected] |
Constructor
Definition at line 96 of file itkLoggerManager.h.
virtual itk::LoggerManager::~LoggerManager | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 99 of file itkLoggerManager.h.
void itk::LoggerManager::AddLogger | ( | const NameType & | name, |
Logger * | logger | ||
) |
Registers a logger
void itk::LoggerManager::AddLogOutput | ( | OutputType * | output | ) |
virtual::itk::LightObject::Pointer itk::LoggerManager::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
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.
static 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 | ||
) |
ContainerType itk::LoggerManager::m_LoggerSet [private] |
Definition at line 108 of file itkLoggerManager.h.