Public Member Functions | Private Attributes | List of all members
dynamicgraph::LoggerIOStream Class Reference

#include <real-time-logger-def.h>

Inheritance diagram for dynamicgraph::LoggerIOStream:
Inheritance graph

Public Member Functions

 LoggerIOStream (std::ostream &os)
virtual void write (const char *c)
virtual ~LoggerIOStream ()

Private Attributes

std::ostream & os_

Detailed Description

Write to an ostream object.

The easieast is to use the macro dgADD_OSTREAM_TO_RTLOG(ostr) where ostr can be std::cout or an std::ofstream...

Definition at line 30 of file real-time-logger-def.h.

Constructor & Destructor Documentation

◆ LoggerIOStream()

dynamicgraph::LoggerIOStream::LoggerIOStream ( std::ostream &  os)

Definition at line 32 of file real-time-logger-def.h.

◆ ~LoggerIOStream()

virtual dynamicgraph::LoggerIOStream::~LoggerIOStream ( )

Definition at line 33 of file real-time-logger-def.h.

Member Function Documentation

◆ write()

virtual void dynamicgraph::LoggerIOStream::write ( const char *  c)

Implements dynamicgraph::LoggerStream.

Definition at line 34 of file real-time-logger-def.h.

Member Data Documentation

◆ os_

std::ostream& dynamicgraph::LoggerIOStream::os_

Definition at line 37 of file real-time-logger-def.h.

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

Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03