YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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 131 of file LogStream.h.

◆ operator<<() [2/19]

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

Definition at line 139 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 277 of file LogStream.h.

◆ operator<<() [4/19]

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

Definition at line 227 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 271 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 255 of file LogStream.h.

◆ operator<<() [7/19]

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

Definition at line 244 of file LogStream.h.

◆ operator<<() [8/19]

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

Definition at line 283 of file LogStream.h.

◆ operator<<() [9/19]

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

Definition at line 235 of file LogStream.h.

◆ operator<<() [10/19]

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

Definition at line 219 of file LogStream.h.

◆ operator<<() [11/19]

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

Definition at line 211 of file LogStream.h.

◆ operator<<() [12/19]

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

Definition at line 163 of file LogStream.h.

◆ operator<<() [13/19]

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

Definition at line 195 of file LogStream.h.

◆ operator<<() [14/19]

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

Definition at line 179 of file LogStream.h.

◆ operator<<() [15/19]

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

Definition at line 147 of file LogStream.h.

◆ operator<<() [16/19]

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

Definition at line 171 of file LogStream.h.

◆ operator<<() [17/19]

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

Definition at line 203 of file LogStream.h.

◆ operator<<() [18/19]

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

Definition at line 187 of file LogStream.h.

◆ operator<<() [19/19]

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

Definition at line 155 of file LogStream.h.


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