OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::LogstreamFile Class Reference

#include <LogstreamFile.h>

Inheritance diagram for RTC::LogstreamFile:
Collaboration diagram for RTC::LogstreamFile:

Public Member Functions

 LogstreamFile ()
 Constructor.
 
 ~LogstreamFile () override
 Destructor.
 
bool init (const coil::Properties &prop) override
 Initializing configuration.
 
coil::LogStreamBuffer * getStreamBuffer () override
 Returns a pointer to the basic_streambuf.
 
- Public Member Functions inherited from RTC::LogstreamBase
virtual ~LogstreamBase ()=default
 Destructor.
 

Protected Attributes

std::string m_fileName
 
FileStreamBasem_stdout {nullptr}
 
FileStreamm_fileout {nullptr}
 

Static Protected Attributes

static coil::vstring s_files
 

Constructor & Destructor Documentation

◆ LogstreamFile()

RTC::LogstreamFile::LogstreamFile ( )

Constructor.

◆ ~LogstreamFile()

RTC::LogstreamFile::~LogstreamFile ( )
override

Destructor.

Member Function Documentation

◆ getStreamBuffer()

coil::LogStreamBuffer * RTC::LogstreamFile::getStreamBuffer ( )
overridevirtual

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()

bool RTC::LogstreamFile::init ( const coil::Properties & prop)
overridevirtual

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

FileStream* RTC::LogstreamFile::m_fileout {nullptr}
protected

◆ m_stdout

FileStreamBase* RTC::LogstreamFile::m_stdout {nullptr}
protected

◆ s_files

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

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