|
ldas-tools-al 2.6.7
|
#include <Log.hh>


Public Types | |
| typedef boost::shared_ptr< StreamCBInterface > | callback_type |
| typedef boost::shared_ptr< StreamCBInterface > | callback_type |
Public Member Functions | |
| StreamFile () | |
| Constructor. | |
| StreamFile () | |
| Constructor. | |
| virtual | ~StreamFile () |
| Destructor. | |
| virtual | ~StreamFile () |
| Destructor. | |
| void | ArchiveDirectory (const std::string &Value) |
| std::string | ArchiveDirectory () const |
| void | ArchiveDirectory (const std::string &Value) |
| std::string | ArchiveDirectory () const |
| void | FilenameExtension (const std::string &Value) |
| std::string | FilenameExtension () const |
| void | FilenameExtension (const std::string &Value) |
| std::string | FilenameExtension () const |
| void | FilenamePattern (const std::string &Value) |
| std::string | FilenamePattern () const |
| void | FilenamePattern (const std::string &Value) |
| std::string | FilenamePattern () const |
| virtual void | Close () |
| How to close the stream. | |
| virtual void | Close () |
| How to close the stream. | |
| virtual bool | IsOpen () const |
| Return the open state of the stream. | |
| virtual bool | IsOpen () const |
| Return the open state of the stream. | |
| virtual void | Open () |
| How to open the stream. | |
| virtual void | Open () |
| How to open the stream. | |
| virtual void | WriteMessage (const std::string &Message) |
| How to open the stream. | |
| virtual void | WriteMessage (const std::string &Message) |
| How to open the stream. | |
| void | Callback (callback_type CallbackCallback) |
| Establish callback. | |
| void | Callback (callback_type CallbackCallback) |
| Establish callback. | |
| template<typename T> | |
| std::ostream & | operator<< (T a) |
| Output to the stream. | |
| template<typename T> | |
| std::ostream & | operator<< (T a) |
| Output to the stream. | |
Protected Member Functions | |
| virtual std::string | archive_filename () const |
| virtual std::string | archive_filename () const |
| INT_4U | entries () const |
| INT_4U | entries () const |
| virtual INT_4U | entriesMax () const |
| virtual INT_4U | entriesMax () const |
| virtual std::string | filename () const |
| virtual std::string | filename () const |
| virtual void | rotate () |
| Rotate log files. | |
| virtual void | rotate () |
| Rotate log files. | |
| virtual std::ostream & | stream () |
| Gain access to the stream. | |
| virtual std::ostream & | stream () |
| Gain access to the stream. | |
| void | onClose () |
| Destructor. | |
| void | onClose () |
| void | onOpen () |
| Destructor. | |
| void | onOpen () |
Private Attributes | |
| std::string | archive_directory |
| std::string | filename_extension |
| std::string | filename_pattern |
| INT_4U | rotate_bytes |
| INT_4U | rotate_bytes_trigger |
| INT_4U | rotate_entries |
| INT_4U | rotate_entries_trigger |
| callback_type | callback |
| Callback storage. | |
|
inherited |
|
inherited |
| LDASTools::AL::Log::StreamFile::StreamFile | ( | ) |
Constructor.
Constructor.
|
virtual |
Destructor.
|
virtual |
Destructor.
|
protectedvirtual |
|
protectedvirtual |
|
inline |
| std::string LDASTools::AL::Log::StreamFile::ArchiveDirectory | ( | ) | const |
|
inline |
| void LDASTools::AL::Log::StreamFile::ArchiveDirectory | ( | const std::string & | Value | ) |
|
inlineinherited |
Establish callback.
|
inherited |
Establish callback.
|
virtual |
How to close the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
virtual |
How to close the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
inlineprotected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
inline |
| std::string LDASTools::AL::Log::StreamFile::FilenameExtension | ( | ) | const |
|
inline |
| void LDASTools::AL::Log::StreamFile::FilenameExtension | ( | const std::string & | Value | ) |
|
inline |
| std::string LDASTools::AL::Log::StreamFile::FilenamePattern | ( | ) | const |
|
inline |
| void LDASTools::AL::Log::StreamFile::FilenamePattern | ( | const std::string & | Value | ) |
|
virtual |
Return the open state of the stream.
Resturn the open state of the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
virtual |
Return the open state of the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
protectedinherited |
Destructor.
|
protectedinherited |
|
protectedinherited |
Destructor.
|
protectedinherited |
|
virtual |
How to open the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
virtual |
How to open the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
inlineinherited |
Output to the stream.
|
inlineinherited |
Output to the stream.
|
protectedvirtual |
Rotate log files.
|
protectedvirtual |
Rotate log files.
|
protectedvirtual |
Gain access to the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
protectedvirtual |
Gain access to the stream.
Implements LDASTools::AL::Log::StreamInterface.
|
virtual |
How to open the stream.
| [in] | Message | The message to send to the output stream. |
Implements LDASTools::AL::Log::StreamInterface.
|
virtual |
How to open the stream.
| [in] | Message | The message to send to the output stream. |
Implements LDASTools::AL::Log::StreamInterface.
|
private |
|
privateinherited |
Callback storage.
If this is set, then this instance is called to handle additional actions that should happen when the stream is opened or closed.
|
private |
|
private |