YARP
Yet Another Robot Platform
yarp::os::LogStream Class Reference

#include <yarp/os/LogStream.h>

Public Member Functions

 LogStream (Log::LogType type, const char *file, unsigned int line, const char *func, const char *id, const double externaltime, const yarp::os::Log::Predicate pred=nullptr, const LogComponent &comp=Log::defaultLogComponent())
 
 LogStream (const LogStream &o)
 
 ~LogStream ()
 
LogStreamoperator<< (bool t)
 
LogStreamoperator<< (char t)
 
LogStreamoperator<< (signed short t)
 
LogStreamoperator<< (unsigned short t)
 
LogStreamoperator<< (signed int t)
 
LogStreamoperator<< (unsigned int t)
 
LogStreamoperator<< (signed long t)
 
LogStreamoperator<< (unsigned long t)
 
LogStreamoperator<< (signed long long t)
 
LogStreamoperator<< (unsigned long long t)
 
LogStreamoperator<< (float t)
 
LogStreamoperator<< (double t)
 
LogStreamoperator<< (const char *t)
 
LogStreamoperator<< (const void *t)
 
LogStreamoperator<< (const std::string &t)
 
template<typename T1 , typename T2 >
LogStreamoperator<< (const std::pair< T1, T2 > &t)
 
template<typename Container , typename = typename Container::value_type>
LogStreamoperator<< (const Container &cont)
 
template<typename Arr , typename std::enable_if_t< std::is_array_v< Arr >, bool > = true>
LogStreamoperator<< (const Arr &arr)
 
template<typename... Args>
LogStreamoperator<< (const std::tuple< Args... > &t)
 

Detailed Description

Definition at line 28 of file LogStream.h.

Constructor & Destructor Documentation

◆ LogStream() [1/2]

yarp::os::LogStream::LogStream ( Log::LogType  type,
const char *  file,
unsigned int  line,
const char *  func,
const char *  id,
const double  externaltime,
const yarp::os::Log::Predicate  pred = nullptr,
const LogComponent comp = Log::defaultLogComponent() 
)
inline

Definition at line 69 of file LogStream.h.

◆ LogStream() [2/2]

yarp::os::LogStream::LogStream ( const LogStream o)
inline

Definition at line 81 of file LogStream.h.

◆ ~LogStream()

yarp::os::LogStream::~LogStream ( )
inline

Definition at line 87 of file LogStream.h.

Member Function Documentation

◆ operator<<() [1/19]

LogStream & yarp::os::LogStream::operator<< ( bool  t)
inline

Definition at line 130 of file LogStream.h.

◆ operator<<() [2/19]

LogStream & yarp::os::LogStream::operator<< ( char  t)
inline

Definition at line 138 of file LogStream.h.

◆ operator<<() [3/19]

template<typename Arr , typename std::enable_if_t< std::is_array_v< Arr >, bool > = true>
LogStream & yarp::os::LogStream::operator<< ( const Arr &  arr)
inline

Definition at line 276 of file LogStream.h.

◆ operator<<() [4/19]

LogStream & yarp::os::LogStream::operator<< ( const char *  t)
inline

Definition at line 226 of file LogStream.h.

◆ operator<<() [5/19]

template<typename Container , typename = typename Container::value_type>
LogStream & yarp::os::LogStream::operator<< ( const Container &  cont)
inline

Definition at line 270 of file LogStream.h.

◆ operator<<() [6/19]

template<typename T1 , typename T2 >
LogStream & yarp::os::LogStream::operator<< ( const std::pair< T1, T2 > &  t)
inline

Definition at line 254 of file LogStream.h.

◆ operator<<() [7/19]

LogStream & yarp::os::LogStream::operator<< ( const std::string &  t)
inline

Definition at line 243 of file LogStream.h.

◆ operator<<() [8/19]

template<typename... Args>
LogStream & yarp::os::LogStream::operator<< ( const std::tuple< Args... > &  t)
inline

Definition at line 282 of file LogStream.h.

◆ operator<<() [9/19]

LogStream & yarp::os::LogStream::operator<< ( const void *  t)
inline

Definition at line 234 of file LogStream.h.

◆ operator<<() [10/19]

LogStream & yarp::os::LogStream::operator<< ( double  t)
inline

Definition at line 218 of file LogStream.h.

◆ operator<<() [11/19]

LogStream & yarp::os::LogStream::operator<< ( float  t)
inline

Definition at line 210 of file LogStream.h.

◆ operator<<() [12/19]

LogStream & yarp::os::LogStream::operator<< ( signed int  t)
inline

Definition at line 162 of file LogStream.h.

◆ operator<<() [13/19]

LogStream & yarp::os::LogStream::operator<< ( signed long long  t)
inline

Definition at line 194 of file LogStream.h.

◆ operator<<() [14/19]

LogStream & yarp::os::LogStream::operator<< ( signed long  t)
inline

Definition at line 178 of file LogStream.h.

◆ operator<<() [15/19]

LogStream & yarp::os::LogStream::operator<< ( signed short  t)
inline

Definition at line 146 of file LogStream.h.

◆ operator<<() [16/19]

LogStream & yarp::os::LogStream::operator<< ( unsigned int  t)
inline

Definition at line 170 of file LogStream.h.

◆ operator<<() [17/19]

LogStream & yarp::os::LogStream::operator<< ( unsigned long long  t)
inline

Definition at line 202 of file LogStream.h.

◆ operator<<() [18/19]

LogStream & yarp::os::LogStream::operator<< ( unsigned long  t)
inline

Definition at line 186 of file LogStream.h.

◆ operator<<() [19/19]

LogStream & yarp::os::LogStream::operator<< ( unsigned short  t)
inline

Definition at line 154 of file LogStream.h.


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