iceoryx2
C++ 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
LogRaw & operator= (const LogRaw &)=delete
LogRaw & operator= (LogRaw &&) noexcept=delete

Friends

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

References LogRaw().

Referenced by LogRaw(), operator=(), operator=(), raw, and raw.

Member Function Documentation

◆ operator=() [1/2]

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

References LogRaw().

◆ operator=() [2/2]

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

References LogRaw(), and iox2::legacy::size().

◆ LogStream

friend class LogStream
friend

Definition at line 140 of file logstream.hpp.

References LogStream.

Referenced by LogStream.

◆ raw [1/2]

template<typename T>
std::enable_if<!std::is_pointer< T >::value, LogRaw >::type raw ( const T & object)
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

References LogRaw().

◆ raw [2/2]

LogRaw raw ( const void * const data,
const uint64_t size )
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

References LogRaw().


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