18 #ifndef itkThreadLogger_h
19 #define itkThreadLogger_h
75 void SetPriorityLevel(PriorityLevelType level)
override;
80 PriorityLevelType GetPriorityLevel()
const override;
82 void SetLevelForFlushing(PriorityLevelType level)
override;
84 PriorityLevelType GetLevelForFlushing()
const override;
89 virtual void SetDelay(DelayType delay);
94 virtual DelayType GetDelay()
const;
97 void AddLogOutput(OutputType *output)
override;
99 void Write(PriorityLevelType level, std::string
const & content)
override;
101 void Flush()
override;
112 void PrintSelf(std::ostream & os,
Indent indent)
const override;
114 void ThreadFunction();
118 void InternalFlush();
147 #endif // itkThreadLogger_h
std::queue< OutputType::Pointer > OutputContainerType
OperationContainerType m_OperationQ
MultipleLogOutput::OutputType OutputType
Light weight base class for most itk classes.
std::queue< PriorityLevelType > LevelContainerType
Represents an output stream.
Providing logging service as a separate thread.
OutputContainerType m_OutputQ
Used for logging information during a run.
LevelContainerType m_LevelQ
std::queue< std::string > MessageContainerType
bool m_TerminationRequested
std::queue< OperationType > OperationContainerType
Control indentation during Print() invocation.
MessageContainerType m_MessageQ
Used for logging information during a run.