ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkThreadLogger.h>
Providing logging service as a separate thread.
Definition at line 40 of file itkThreadLogger.h.
typedef SmartPointer< const Self > itk::ThreadLogger::ConstPointer |
Reimplemented from itk::Logger.
Definition at line 47 of file itkThreadLogger.h.
typedef unsigned int itk::ThreadLogger::DelayType |
Definition at line 59 of file itkThreadLogger.h.
typedef std::queue< PriorityLevelType > itk::ThreadLogger::LevelContainerType [private] |
Definition at line 124 of file itkThreadLogger.h.
typedef std::queue< std::string > itk::ThreadLogger::MessageContainerType [private] |
Definition at line 122 of file itkThreadLogger.h.
typedef std::queue< OperationType > itk::ThreadLogger::OperationContainerType [private] |
Definition at line 120 of file itkThreadLogger.h.
typedef std::queue< OutputType::Pointer > itk::ThreadLogger::OutputContainerType [private] |
Definition at line 126 of file itkThreadLogger.h.
Reimplemented from itk::LoggerBase.
Definition at line 53 of file itkThreadLogger.h.
typedef SmartPointer< Self > itk::ThreadLogger::Pointer |
Reimplemented from itk::Logger.
Definition at line 46 of file itkThreadLogger.h.
Definition of types of messages. These codes will be used to regulate the level of detail of messages reported to the final outputs
Reimplemented from itk::LoggerBase.
Definition at line 57 of file itkThreadLogger.h.
typedef ThreadLogger itk::ThreadLogger::Self |
Smart pointer typedef support.
Reimplemented from itk::Logger.
Definition at line 44 of file itkThreadLogger.h.
typedef Logger itk::ThreadLogger::Superclass |
Reimplemented from itk::Logger.
Definition at line 45 of file itkThreadLogger.h.
Definition of types of operations for ThreadLogger.
Definition at line 62 of file itkThreadLogger.h.
itk::ThreadLogger::ThreadLogger | ( | ) | [protected] |
Constructor
virtual itk::ThreadLogger::~ThreadLogger | ( | ) | [protected, virtual] |
Destructor
virtual void itk::ThreadLogger::AddLogOutput | ( | OutputType * | output | ) | [virtual] |
Registers another output stream with the multiple output.
Reimplemented from itk::LoggerBase.
virtual::itk::LightObject::Pointer itk::ThreadLogger::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::Logger.
virtual void itk::ThreadLogger::Flush | ( | ) | [virtual] |
Reimplemented from itk::LoggerBase.
virtual DelayType itk::ThreadLogger::GetDelay | ( | ) | const [virtual] |
Get the delay in milliseconds between checks to see if there are any low priority messages to be processed.
virtual PriorityLevelType itk::ThreadLogger::GetLevelForFlushing | ( | ) | const [virtual] |
Reimplemented from itk::LoggerBase.
virtual const char* itk::ThreadLogger::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Logger.
virtual PriorityLevelType itk::ThreadLogger::GetPriorityLevel | ( | ) | const [virtual] |
Get the priority level for the current logger. Only messages that have priorities equal or greater than the one set here will be posted to the current outputs.
Reimplemented from itk::LoggerBase.
void itk::ThreadLogger::InternalFlush | ( | ) | [private] |
static Pointer itk::ThreadLogger::New | ( | ) | [static] |
New macro for creation of a Smart Pointer
Reimplemented from itk::Logger.
virtual void itk::ThreadLogger::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Print contents of a ThreadLogger
Reimplemented from itk::LoggerBase.
virtual void itk::ThreadLogger::SetDelay | ( | DelayType | delay | ) | [virtual] |
Set the delay in milliseconds between checks to see if there are any low priority messages to be processed.
virtual void itk::ThreadLogger::SetLevelForFlushing | ( | PriorityLevelType | level | ) | [virtual] |
Reimplemented from itk::LoggerBase.
virtual void itk::ThreadLogger::SetPriorityLevel | ( | PriorityLevelType | level | ) | [virtual] |
Set the priority level for the current logger. Only messages that have priorities equal or greater than the one set here will be posted to the current outputs.
Reimplemented from itk::LoggerBase.
static ITK_THREAD_RETURN_TYPE itk::ThreadLogger::ThreadFunction | ( | void * | ) | [static, protected] |
virtual void itk::ThreadLogger::Write | ( | PriorityLevelType | level, |
std::string const & | content | ||
) | [virtual] |
Reimplemented from itk::LoggerBase.
DelayType itk::ThreadLogger::m_Delay [private] |
Definition at line 142 of file itkThreadLogger.h.
Definition at line 136 of file itkThreadLogger.h.
Definition at line 134 of file itkThreadLogger.h.
Definition at line 140 of file itkThreadLogger.h.
Definition at line 132 of file itkThreadLogger.h.
Definition at line 138 of file itkThreadLogger.h.
MultiThreader::Pointer itk::ThreadLogger::m_Threader [private] |
Definition at line 128 of file itkThreadLogger.h.
ThreadIdType itk::ThreadLogger::m_ThreadID [private] |
Definition at line 130 of file itkThreadLogger.h.