Class LoggerThreadWrapper is meant for providing logging service as a separate thread. More...
#include <itkLoggerThreadWrapper.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
enum | OperationType { SET_PRIORITY_LEVEL, SET_LEVEL_FOR_FLUSHING, ADD_LOG_OUTPUT, WRITE, FLUSH } |
typedef SimpleLoggerType::OutputType | OutputType |
typedef SmartPointer< Self > | Pointer |
typedef SimpleLoggerType::PriorityLevelType | PriorityLevelType |
typedef LoggerThreadWrapper | Self |
typedef SimpleLoggerType | Superclass |
Public Member Functions | |
virtual void | AddLogOutput (OutputType *output) |
virtual void | Flush () |
virtual PriorityLevelType | GetLevelForFlushing () const |
virtual const char * | GetNameOfClass () const |
virtual PriorityLevelType | GetPriorityLevel () const |
virtual void | SetLevelForFlushing (PriorityLevelType level) |
virtual void | SetPriorityLevel (PriorityLevelType level) |
virtual void | Write (PriorityLevelType level, std::string const &content) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LoggerThreadWrapper () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~LoggerThreadWrapper () |
Static Protected Member Functions | |
static ITK_THREAD_RETURN_TYPE | ThreadFunction (void *) |
Class LoggerThreadWrapper is meant for providing logging service as a separate thread.
Definition at line 46 of file itkLoggerThreadWrapper.h.
typedef SmartPointer<const Self> itk::LoggerThreadWrapper< SimpleLoggerType >::ConstPointer |
Definition at line 53 of file itkLoggerThreadWrapper.h.
typedef SimpleLoggerType::OutputType itk::LoggerThreadWrapper< SimpleLoggerType >::OutputType |
Definition at line 59 of file itkLoggerThreadWrapper.h.
typedef SmartPointer<Self> itk::LoggerThreadWrapper< SimpleLoggerType >::Pointer |
Definition at line 52 of file itkLoggerThreadWrapper.h.
typedef SimpleLoggerType::PriorityLevelType itk::LoggerThreadWrapper< SimpleLoggerType >::PriorityLevelType |
Definition at line 62 of file itkLoggerThreadWrapper.h.
typedef LoggerThreadWrapper itk::LoggerThreadWrapper< SimpleLoggerType >::Self |
Definition at line 50 of file itkLoggerThreadWrapper.h.
typedef SimpleLoggerType itk::LoggerThreadWrapper< SimpleLoggerType >::Superclass |
Definition at line 51 of file itkLoggerThreadWrapper.h.
enum itk::LoggerThreadWrapper::OperationType |
Definition of types of operations for LoggerThreadWrapper.
Definition at line 65 of file itkLoggerThreadWrapper.h.
itk::LoggerThreadWrapper< SimpleLoggerType >::LoggerThreadWrapper | ( | ) | [protected] |
Constructor
virtual itk::LoggerThreadWrapper< SimpleLoggerType >::~LoggerThreadWrapper | ( | ) | [protected, virtual] |
Destructor
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::AddLogOutput | ( | OutputType * | output | ) | [virtual] |
Registers another output stream with the multiple output.
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::Flush | ( | ) | [virtual] |
virtual PriorityLevelType itk::LoggerThreadWrapper< SimpleLoggerType >::GetLevelForFlushing | ( | ) | const [virtual] |
virtual const char* itk::LoggerThreadWrapper< SimpleLoggerType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
virtual PriorityLevelType itk::LoggerThreadWrapper< SimpleLoggerType >::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
static Pointer itk::LoggerThreadWrapper< SimpleLoggerType >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::PrintSelf | ( | std::ostream & | os, | |
Indent | indent | |||
) | const [protected, virtual] |
Print contents of a LoggerThreadWrapper
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::SetLevelForFlushing | ( | PriorityLevelType | level | ) | [virtual] |
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::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
static ITK_THREAD_RETURN_TYPE itk::LoggerThreadWrapper< SimpleLoggerType >::ThreadFunction | ( | void * | ) | [static, protected] |
virtual void itk::LoggerThreadWrapper< SimpleLoggerType >::Write | ( | PriorityLevelType | level, | |
std::string const & | content | |||
) | [virtual] |