Class to handle streaming of messages.
More...
#include <Log.hh>
Inherited by LDASTools::AL::Log::StreamFile, LDASTools::AL::Log::StreamFile, LDASTools::AL::Log::StreamFile, LDASTools::AL::Log::StreamStdErr, LDASTools::AL::Log::StreamStdErr, and LDASTools::AL::Log::StreamStdErr.
|
void | onClose () |
| Destructor.
|
|
void | onOpen () |
| Destructor.
|
|
virtual std::ostream & | stream ()=0 |
| Gain access to the stream.
|
|
virtual std::ostream & | stream ()=0 |
| Gain access to the stream.
|
|
virtual std::ostream & | stream ()=0 |
| Gain access to the stream.
|
|
Class to handle streaming of messages.
This is an pure abstract class which describes the interface that needs to be created by derived classes.
◆ IsOpen() [1/3]
virtual bool LDASTools::AL::Log::StreamInterface::IsOpen |
( |
| ) |
const |
|
pure virtual |
Resturn the open state of the stream.
- Returns
- If the stream is open and writable, then return true. Otherwise, false.
◆ IsOpen() [2/3]
virtual bool LDASTools::AL::Log::StreamInterface::IsOpen |
( |
| ) |
const |
|
pure virtual |
Resturn the open state of the stream.
- Returns
- If the stream is open and writable, then return true. Otherwise, false.
◆ IsOpen() [3/3]
virtual bool LDASTools::AL::Log::StreamInterface::IsOpen |
( |
| ) |
const |
|
pure virtual |
Resturn the open state of the stream.
- Returns
- If the stream is open and writable, then return true. Otherwise, false.
◆ WriteMessage() [1/3]
virtual void LDASTools::AL::Log::StreamInterface::WriteMessage |
( |
const std::string & |
Message | ) |
|
|
pure virtual |
How to open the stream.
- Parameters
-
[in] | Message | The message to send to the output stream. |
◆ WriteMessage() [2/3]
virtual void LDASTools::AL::Log::StreamInterface::WriteMessage |
( |
const std::string & |
Message | ) |
|
|
pure virtual |
How to open the stream.
- Parameters
-
[in] | Message | The message to send to the output stream. |
◆ WriteMessage() [3/3]
virtual void LDASTools::AL::Log::StreamInterface::WriteMessage |
( |
const std::string & |
Message | ) |
|
|
pure virtual |
How to open the stream.
- Parameters
-
[in] | Message | The message to send to the output stream. |
The documentation for this class was generated from the following files:
- /build/ldas-tools-al-2.6.3/debian/tmp/usr/include/ldastoolsal/Log.hh
- /build/ldas-tools-al-2.6.3/src/Log.cc