ldas-tools-al  2.6.5
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LDASTools::AL::Log::StreamStdErr Class Reference

#include <Log.hh>

Inheritance diagram for LDASTools::AL::Log::StreamStdErr:
Inheritance graph
[legend]
Collaboration diagram for LDASTools::AL::Log::StreamStdErr:
Collaboration graph
[legend]

Public Types

typedef boost::shared_ptr< StreamCBInterfacecallback_type
 
typedef boost::shared_ptr< StreamCBInterfacecallback_type
 
typedef boost::shared_ptr< StreamCBInterfacecallback_type
 

Public Member Functions

 StreamStdErr ()
 Constructor. More...
 
virtual ~StreamStdErr ()
 Destructor. More...
 
virtual void Close ()
 How to close the stream. More...
 
virtual bool IsOpen () const
 Return the open state of the stream. More...
 
virtual void Open ()
 How to open the stream. More...
 
virtual void WriteMessage (const std::string &Message)
 How to open the stream. More...
 
 StreamStdErr ()
 Constructor. More...
 
virtual ~StreamStdErr ()
 Destructor. More...
 
virtual void Close ()
 How to close the stream. More...
 
virtual bool IsOpen () const
 Return the open state of the stream. More...
 
virtual void Open ()
 How to open the stream. More...
 
virtual void WriteMessage (const std::string &Message)
 How to open the stream. More...
 
 StreamStdErr ()
 Constructor. More...
 
virtual ~StreamStdErr ()
 Destructor. More...
 
virtual void Close ()
 How to close the stream. More...
 
virtual bool IsOpen () const
 Return the open state of the stream. More...
 
virtual void Open ()
 How to open the stream. More...
 
virtual void WriteMessage (const std::string &Message)
 How to open the stream. More...
 
void Callback (callback_type Callback)
 Establish callback. More...
 
void Callback (callback_type Callback)
 Establish callback. More...
 
void Callback (callback_type Callback)
 Establish callback. More...
 
template<typename T >
std::ostream & operator<< (T a)
 Output to the stream. More...
 
template<typename T >
std::ostream & operator<< (T a)
 Output to the stream. More...
 
template<typename T >
std::ostream & operator<< (T a)
 Output to the stream. More...
 

Protected Member Functions

virtual std::ostream & stream ()
 Gain access to the stream. More...
 
virtual std::ostream & stream ()
 Gain access to the stream. More...
 
virtual std::ostream & stream ()
 Gain access to the stream. More...
 
void onClose ()
 Destructor. More...
 
void onClose ()
 
void onClose ()
 
void onOpen ()
 Destructor. More...
 
void onOpen ()
 
void onOpen ()
 

Protected Attributes

bool on_open_called
 Tracks if a call to onOpen has been made. More...
 

Member Typedef Documentation

◆ callback_type [1/3]

◆ callback_type [2/3]

◆ callback_type [3/3]

Constructor & Destructor Documentation

◆ StreamStdErr() [1/3]

LDASTools::AL::Log::StreamStdErr::StreamStdErr ( )

Constructor.

◆ ~StreamStdErr() [1/3]

LDASTools::AL::Log::StreamStdErr::~StreamStdErr ( )
virtual

Destructor.

◆ StreamStdErr() [2/3]

LDASTools::AL::Log::StreamStdErr::StreamStdErr ( )

Constructor.

◆ ~StreamStdErr() [2/3]

virtual LDASTools::AL::Log::StreamStdErr::~StreamStdErr ( )
virtual

Destructor.

◆ StreamStdErr() [3/3]

LDASTools::AL::Log::StreamStdErr::StreamStdErr ( )

Constructor.

◆ ~StreamStdErr() [3/3]

virtual LDASTools::AL::Log::StreamStdErr::~StreamStdErr ( )
virtual

Destructor.

Member Function Documentation

◆ Callback() [1/3]

void LDASTools::AL::Log::StreamInterface::Callback ( callback_type  Callback)
inlineinherited

Establish callback.

◆ Callback() [2/3]

void LDASTools::AL::Log::StreamInterface::Callback ( callback_type  Callback)
inherited

Establish callback.

◆ Callback() [3/3]

void LDASTools::AL::Log::StreamInterface::Callback ( callback_type  Callback)
inherited

Establish callback.

◆ Close() [1/3]

virtual void LDASTools::AL::Log::StreamStdErr::Close ( )
virtual

How to close the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ Close() [2/3]

void LDASTools::AL::Log::StreamStdErr::Close ( )
virtual

How to close the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ Close() [3/3]

virtual void LDASTools::AL::Log::StreamStdErr::Close ( )
virtual

How to close the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ IsOpen() [1/3]

bool LDASTools::AL::Log::StreamStdErr::IsOpen ( ) const
virtual

Return the open state of the stream.

Resturn the open state of the stream.

Returns
If the stream is open and writable, then return true. Otherwise, false.

Implements LDASTools::AL::Log::StreamInterface.

◆ IsOpen() [2/3]

virtual bool LDASTools::AL::Log::StreamStdErr::IsOpen ( ) const
virtual

Return the open state of the stream.

Returns
If the stream is open and writable, then return true. Otherwise, false.

Implements LDASTools::AL::Log::StreamInterface.

◆ IsOpen() [3/3]

virtual bool LDASTools::AL::Log::StreamStdErr::IsOpen ( ) const
virtual

Return the open state of the stream.

Returns
If the stream is open and writable, then return true. Otherwise, false.

Implements LDASTools::AL::Log::StreamInterface.

◆ onClose() [1/3]

void LDASTools::AL::Log::StreamInterface::onClose ( )
protectedinherited

Destructor.

◆ onClose() [2/3]

void LDASTools::AL::Log::StreamInterface::onClose ( )
protectedinherited

◆ onClose() [3/3]

void LDASTools::AL::Log::StreamInterface::onClose ( )
protectedinherited

◆ onOpen() [1/3]

void LDASTools::AL::Log::StreamInterface::onOpen ( )
protectedinherited

Destructor.

◆ onOpen() [2/3]

void LDASTools::AL::Log::StreamInterface::onOpen ( )
protectedinherited

◆ onOpen() [3/3]

void LDASTools::AL::Log::StreamInterface::onOpen ( )
protectedinherited

◆ Open() [1/3]

virtual void LDASTools::AL::Log::StreamStdErr::Open ( )
virtual

How to open the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ Open() [2/3]

virtual void LDASTools::AL::Log::StreamStdErr::Open ( )
virtual

How to open the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ Open() [3/3]

void LDASTools::AL::Log::StreamStdErr::Open ( )
virtual

How to open the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ operator<<() [1/3]

template<typename T >
std::ostream& LDASTools::AL::Log::StreamInterface::operator<< ( a)
inlineinherited

Output to the stream.

◆ operator<<() [2/3]

template<typename T >
std::ostream& LDASTools::AL::Log::StreamInterface::operator<< ( a)
inlineinherited

Output to the stream.

◆ operator<<() [3/3]

template<typename T >
std::ostream& LDASTools::AL::Log::StreamInterface::operator<< ( a)
inlineinherited

Output to the stream.

◆ stream() [1/3]

std::ostream & LDASTools::AL::Log::StreamStdErr::stream ( )
protectedvirtual

Gain access to the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ stream() [2/3]

virtual std::ostream& LDASTools::AL::Log::StreamStdErr::stream ( )
protectedvirtual

Gain access to the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ stream() [3/3]

virtual std::ostream& LDASTools::AL::Log::StreamStdErr::stream ( )
protectedvirtual

Gain access to the stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ WriteMessage() [1/3]

virtual void LDASTools::AL::Log::StreamStdErr::WriteMessage ( const std::string &  Message)
virtual

How to open the stream.

Parameters
[in]MessageThe message to send to the output stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ WriteMessage() [2/3]

virtual void LDASTools::AL::Log::StreamStdErr::WriteMessage ( const std::string &  Message)
virtual

How to open the stream.

Parameters
[in]MessageThe message to send to the output stream.

Implements LDASTools::AL::Log::StreamInterface.

◆ WriteMessage() [3/3]

void LDASTools::AL::Log::StreamStdErr::WriteMessage ( const std::string &  Message)
virtual

How to open the stream.

Parameters
[in]MessageThe message to send to the output stream.

Implements LDASTools::AL::Log::StreamInterface.

Member Data Documentation

◆ on_open_called

bool LDASTools::AL::Log::StreamStdErr::on_open_called
protected

Tracks if a call to onOpen has been made.


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