iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::legacy::log::LogRaw Class Reference

Helper struct to log in raw bytes. More...

#include <logstream.hpp>

Public Member Functions

 ~LogRaw ()=default
 
 LogRaw (const LogRaw &)=delete
 
LogRawoperator= (const LogRaw &)=delete
 
LogRawoperator= (LogRaw &&) noexcept=delete
 

Friends

class LogStream
 
template<typename T >
constexpr std::enable_if<!std::is_pointer< T >::value, LogRaw >::type raw (const T &) noexcept
 Log an object in raw bytes.
 
constexpr LogRaw raw (const void *const, const uint64_t) noexcept
 Log data in raw bytes.
 

Detailed Description

Helper struct to log in raw bytes.

Definition at line 138 of file logstream.hpp.

Constructor & Destructor Documentation

◆ ~LogRaw()

iox2::legacy::log::LogRaw::~LogRaw ( )
default

◆ LogRaw()

iox2::legacy::log::LogRaw::LogRaw ( const LogRaw )
delete

Member Function Documentation

◆ operator=() [1/2]

LogRaw & iox2::legacy::log::LogRaw::operator= ( const LogRaw )
delete

◆ operator=() [2/2]

LogRaw & iox2::legacy::log::LogRaw::operator= ( LogRaw &&  )
deletenoexcept

Friends And Related Symbol Documentation

◆ LogStream

Definition at line 140 of file logstream.hpp.

◆ raw [1/2]

template<typename T >
constexpr std::enable_if<!std::is_pointer< T >::value, LogRaw >::type raw ( const T )
friend

Log an object in raw bytes.

Template Parameters

in] T the data type of the object to log

Parameters
[in]objectto be logged
Returns
a helper struct which will be used by the LogStream

◆ raw [2/2]

constexpr LogRaw raw ( const void * const  ,
const uint64_t   
)
friend

Log data in raw bytes.

Parameters
[in]datapointer to the data to be logged
[in]sizeof the data to be logged
Returns
a helper struct which will be used by the LogStream

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