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
[legend]

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

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

◆ ~LoggerIOStream()

virtual dynamicgraph::LoggerIOStream::~LoggerIOStream ( )
inlinevirtual

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

Member Function Documentation

◆ write()

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

Implements dynamicgraph::LoggerStream.

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

Member Data Documentation

◆ os_

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

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


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:39