All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
gazebo::common::FileLogger::Buffer Class Reference

String buffer for the file logger. More...

#include <Console.hh>

Inheritance diagram for gazebo::common::FileLogger::Buffer:
Inheritance graph
[legend]

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

gazebo::common::FileLogger::Buffer::Buffer ( const std::string &  _filename)

Constructor.

Parameters
[in]_filenameFilename to write into.
virtual gazebo::common::FileLogger::Buffer::~Buffer ( )
virtual

Destructor.

Member Function Documentation

virtual int gazebo::common::FileLogger::Buffer::sync ( )
virtual

Sync the stream (output the string buffer contents).

Returns
Return 0 on success.

Member Data Documentation

std::ofstream* gazebo::common::FileLogger::Buffer::stream

Stream to output information into.


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