Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::Kernel::ThreadSafeLogIOS Class Reference

The base class for ThreadSafeLogStream. More...

#include <ThreadSafeLogStream.h>

Inheritance diagram for Mantid::Kernel::ThreadSafeLogIOS:
Mantid::Kernel::ThreadSafeLogStream

Public Member Functions

Poco::LogStreamBuf * rdbuf ()
 Return the underlying buffer for this stream. More...
 
 ThreadSafeLogIOS (Poco::Logger &logger, Poco::Message::Priority priority)
 Constructor. More...
 

Protected Attributes

ThreadSafeLogStreamBuf m_buf
 The log stream buffer object. More...
 

Detailed Description

The base class for ThreadSafeLogStream.

From Poco/Foundation/LogStream.h - This class is needed to ensure the correct initialization order of the stream buffer and base classes.

Definition at line 70 of file ThreadSafeLogStream.h.

Constructor & Destructor Documentation

◆ ThreadSafeLogIOS()

ThreadSafeLogIOS::ThreadSafeLogIOS ( Poco::Logger &  logger,
Poco::Message::Priority  priority 
)

Constructor.

Parameters
logger:: A reference to the logger associated with this stream
priority:: The stream priority

Definition at line 77 of file ThreadSafeLogStream.cpp.

References m_buf.

Member Function Documentation

◆ rdbuf()

Poco::LogStreamBuf * ThreadSafeLogIOS::rdbuf ( )

Return the underlying buffer for this stream.

Returns
The thread-safe buffer associated with this stream

Definition at line 85 of file ThreadSafeLogStream.cpp.

References m_buf.

Member Data Documentation

◆ m_buf

ThreadSafeLogStreamBuf Mantid::Kernel::ThreadSafeLogIOS::m_buf
protected

The documentation for this class was generated from the following files: