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

#include <yarp/os/LogComponent.h>

Public Types

using LogCallback = yarp::os::Log::LogCallback
 
using LogType = yarp::os::Log::LogType
 

Public Member Functions

 LogComponent (const char *name, LogType minimumPrintLevel=yarp::os::Log::minimumPrintLevel(), LogType minimumForwardLevel=yarp::os::Log::minimumForwardLevel(), LogCallback printCallback=yarp::os::Log::printCallback(), LogCallback forwardCallback=yarp::os::Log::forwardCallback())
 
 LogComponent (const LogComponent &)=delete
 
 LogComponent (LogComponent &&) noexcept=delete
 
LogComponentoperator= (const LogComponent &)=delete
 
LogComponentoperator= (LogComponent &&) noexcept=delete
 
 ~LogComponent ()=default
 
LogCallback printCallback (yarp::os::Log::LogType t) const
 
LogCallback forwardCallback (yarp::os::Log::LogType t) const
 
constexpr const char * name () const
 
constexpr operator bool () const
 

Detailed Description

Definition at line 20 of file LogComponent.h.

Member Typedef Documentation

◆ LogCallback

◆ LogType

Constructor & Destructor Documentation

◆ LogComponent() [1/3]

LogComponent::LogComponent ( const char *  name,
LogType  minimumPrintLevel = yarp::os::Log::minimumPrintLevel(),
LogType  minimumForwardLevel = yarp::os::Log::minimumForwardLevel(),
LogCallback  printCallback = yarp::os::Log::printCallback(),
LogCallback  forwardCallback = yarp::os::Log::forwardCallback() 
)

Definition at line 14 of file LogComponent.cpp.

◆ LogComponent() [2/3]

yarp::os::LogComponent::LogComponent ( const LogComponent )
delete

◆ LogComponent() [3/3]

yarp::os::LogComponent::LogComponent ( LogComponent &&  )
deletenoexcept

◆ ~LogComponent()

yarp::os::LogComponent::~LogComponent ( )
default

Member Function Documentation

◆ forwardCallback()

LogCallback LogComponent::forwardCallback ( yarp::os::Log::LogType  t) const

Definition at line 58 of file LogComponent.cpp.

◆ name()

constexpr const char* yarp::os::LogComponent::name ( ) const
inlineconstexpr

Definition at line 42 of file LogComponent.h.

◆ operator bool()

constexpr yarp::os::LogComponent::operator bool ( ) const
inlineconstexpr

Definition at line 43 of file LogComponent.h.

◆ operator=() [1/2]

LogComponent& yarp::os::LogComponent::operator= ( const LogComponent )
delete

◆ operator=() [2/2]

LogComponent& yarp::os::LogComponent::operator= ( LogComponent &&  )
deletenoexcept

◆ printCallback()

LogCallback LogComponent::printCallback ( yarp::os::Log::LogType  t) const

Definition at line 38 of file LogComponent.cpp.


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