OpenRTM-aist  1.2.0
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 StreambufType * getStreamBuffer ()
 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
 
StreambufType * m_stdout
 
std::filebuf * m_fileout
 

Static Protected Attributes

static coil::vstring s_files
 

Constructor & Destructor Documentation

◆ LogstreamFile()

RTC::LogstreamFile::LogstreamFile ( )

Constructor.

◆ ~LogstreamFile()

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

Destructor.

Member Function Documentation

◆ getStreamBuffer()

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.

◆ init()

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

◆ m_fileName

std::string RTC::LogstreamFile::m_fileName
protected

◆ m_fileout

std::filebuf* RTC::LogstreamFile::m_fileout
protected

◆ m_stdout

StreambufType* RTC::LogstreamFile::m_stdout
protected

◆ s_files

coil::vstring RTC::LogstreamFile::s_files
staticprotected

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