18 #ifndef __itkLoggerThreadWrapper_h
19 #define __itkLoggerThreadWrapper_h
39 template<
typename SimpleLoggerType >
55 typedef typename SimpleLoggerType::OutputType
OutputType;
140 #ifndef ITK_MANUAL_INSTANTIATION
141 #include "itkLoggerThreadWrapper.hxx"
144 #endif // __itkLoggerThreadWrapper_h
virtual ~LoggerThreadWrapper()
Critical section locking class that can be allocated on the stack.
SmartPointer< Self > Pointer
std::queue< typename OutputType::Pointer > OutputContainerType
virtual void PrintSelf(std::ostream &os, Indent indent) const
OutputContainerType m_OutputQ
Used for providing logging service as a separate thread.
virtual PriorityLevelType GetLevelForFlushing() const
#define ITK_THREAD_RETURN_TYPE
virtual void Write(PriorityLevelType level, std::string const &content)
virtual void SetLevelForFlushing(PriorityLevelType level)
SmartPointer< const Self > ConstPointer
virtual DelayType GetDelay() const
std::queue< PriorityLevelType > LevelContainerType
LevelContainerType m_LevelQ
virtual void AddLogOutput(OutputType *output)
SimpleFastMutexLock m_Mutex
static ITK_THREAD_RETURN_TYPE ThreadFunction(void *)
MultiThreader::Pointer m_Threader
virtual void SetDelay(DelayType delay)
OperationContainerType m_OperationQ
std::queue< std::string > MessageContainerType
SimpleLoggerType::PriorityLevelType PriorityLevelType
std::queue< OperationType > OperationContainerType
SimpleLoggerType Superclass
Control indentation during Print() invocation.
MessageContainerType m_MessageQ
virtual PriorityLevelType GetPriorityLevel() const
SimpleLoggerType::OutputType OutputType
virtual void SetPriorityLevel(PriorityLevelType level)
unsigned int ThreadIdType