FileLogger::Buffer Class Reference

String buffer for the file logger. More...

#include <Console.hh>

Inherits stringbuf.

Public Member Functions

 Buffer (const std::string &_filename)
 Constructor. More...
 
virtual ~Buffer ()
 Destructor. More...
 
virtual int sync ()
 Sync the stream (output the string buffer contents). More...
 

Public Attributes

std::ofstream * stream
 Stream to output information into. More...
 

Detailed Description

String buffer for the file logger.

Constructor & Destructor Documentation

Buffer ( const std::string &  _filename)

Constructor.

Parameters
[in]_filenameFilename to write into.
virtual ~Buffer ( )
virtual

Destructor.

Member Function Documentation

virtual int sync ( )
virtual

Sync the stream (output the string buffer contents).

Returns
Return 0 on success.

Member Data Documentation

std::ofstream* stream

Stream to output information into.


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