OpenRTM-aist  1.2.1
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
RTC::LogstreamFile Class Reference

#include <LogstreamFile.h>

Inheritance diagram for RTC::LogstreamFile:
Inheritance graph
[legend]
Collaboration diagram for RTC::LogstreamFile:
Collaboration graph
[legend]

Public Member Functions

 LogstreamFile ()
 Constructor. More...
 
virtual ~LogstreamFile (void)
 Destructor. More...
 
virtual bool init (const coil::Properties &prop)
 Initializing configuration. More...
 
virtual StreambufTypegetStreamBuffer ()
 Returns a pointer to the basic_streambuf. More...
 
- Public Member Functions inherited from RTC::LogstreamBase
virtual ~LogstreamBase (void)
 Destructor. More...
 

Protected Attributes

std::string m_fileName
 
StreambufTypem_stdout
 
std::filebuf * m_fileout
 

Static Protected Attributes

static coil::vstring s_files
 

Constructor & Destructor Documentation

RTC::LogstreamFile::LogstreamFile ( )

Constructor.

virtual RTC::LogstreamFile::~LogstreamFile ( void  )
virtual

Destructor.

Member Function Documentation

virtual StreambufType* RTC::LogstreamFile::getStreamBuffer ( )
virtual

Returns a pointer to the basic_streambuf.

This operation would returns a pointer to the basic_streambuf or its subclass that is kept in this class.

Returns
pointer to the basic_streambuf (coil::LogStreambuf)

Implements RTC::LogstreamBase.

virtual bool RTC::LogstreamFile::init ( const coil::Properties prop)
virtual

Initializing configuration.

This operation would be called to configure in initialization. In the concrete class, configuration should be performed getting appropriate information from the given Properties data.

Parameters
propConfiguration information

Implements RTC::LogstreamBase.

Member Data Documentation

std::string RTC::LogstreamFile::m_fileName
protected
std::filebuf* RTC::LogstreamFile::m_fileout
protected
StreambufType* RTC::LogstreamFile::m_stdout
protected
coil::vstring RTC::LogstreamFile::s_files
staticprotected

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