Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Private Attributes
mrpt::system::COutputLoggerStreamWrapper Struct Reference

Detailed Description

For use in MRPT_LOG_DEBUG_STREAM(), etc.

Definition at line 318 of file system/COutputLogger.h.

#include <mrpt/system/COutputLogger.h>

Public Member Functions

 COutputLoggerStreamWrapper (VerbosityLevel level, const COutputLogger &logger)
 
 ~COutputLoggerStreamWrapper ()
 
template<typename T >
std::stringstream & operator<< (const T &val)
 
std::stringstream & operator<< (const std::stringstream &val)
 

Private Attributes

std::stringstream m_str
 
VerbosityLevel m_level
 
const COutputLoggerm_logger
 

Constructor & Destructor Documentation

◆ COutputLoggerStreamWrapper()

mrpt::system::COutputLoggerStreamWrapper::COutputLoggerStreamWrapper ( VerbosityLevel  level,
const COutputLogger logger 
)
inline

Definition at line 320 of file system/COutputLogger.h.

◆ ~COutputLoggerStreamWrapper()

mrpt::system::COutputLoggerStreamWrapper::~COutputLoggerStreamWrapper ( )
inline

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
std::stringstream& mrpt::system::COutputLoggerStreamWrapper::operator<< ( const T &  val)
inline

Definition at line 332 of file system/COutputLogger.h.

References m_str, and val.

◆ operator<<() [2/2]

std::stringstream& mrpt::system::COutputLoggerStreamWrapper::operator<< ( const std::stringstream &  val)
inline

Definition at line 338 of file system/COutputLogger.h.

References m_str, and val.

Member Data Documentation

◆ m_level

VerbosityLevel mrpt::system::COutputLoggerStreamWrapper::m_level
private

Definition at line 346 of file system/COutputLogger.h.

Referenced by ~COutputLoggerStreamWrapper().

◆ m_logger

const COutputLogger& mrpt::system::COutputLoggerStreamWrapper::m_logger
private

Definition at line 347 of file system/COutputLogger.h.

Referenced by ~COutputLoggerStreamWrapper().

◆ m_str

std::stringstream mrpt::system::COutputLoggerStreamWrapper::m_str
private

Definition at line 345 of file system/COutputLogger.h.

Referenced by operator<<(), and ~COutputLoggerStreamWrapper().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019