dynamicgraph::LoggerIOStream Class Reference

Write to an ostream object. More...

#include <dynamic-graph/real-time-logger-def.h>

Inheritance diagram for dynamicgraph::LoggerIOStream:
[legend]
Collaboration diagram for dynamicgraph::LoggerIOStream:
[legend]

Public Member Functions

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

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...

Constructor & Destructor Documentation

◆ LoggerIOStream()

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

Member Function Documentation

◆ write()

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