Public Member Functions | List of all members
mavrosflight::LoggerInterface< Derived > Class Template Reference

Abstract base class for message handler. More...

#include <logger_interface.h>

Public Member Functions

template<typename... Args>
void debug (const char *format, const Args &...args)
 
template<typename... Args>
void debug_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void error (const char *format, const Args &...args)
 
template<typename... Args>
void error_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void fatal (const char *format, const Args &...args)
 
template<typename... Args>
void fatal_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void info (const char *format, const Args &...args)
 
template<typename... Args>
void info_throttle (float period, const char *format, const Args &...args)
 
template<typename... Args>
void warn (const char *format, const Args &...args)
 
template<typename... Args>
void warn_throttle (float period, const char *format, const Args &...args)
 

Detailed Description

template<typename Derived>
class mavrosflight::LoggerInterface< Derived >

Abstract base class for message handler.

The implementations of this class define how messages are displayed, logged, etc. To create custom behavior, a derived class should implement each of the public functions.

Definition at line 52 of file logger_interface.h.

Member Function Documentation

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::debug ( const char *  format,
const Args &...  args 
)
inline

Definition at line 56 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::debug_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 62 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::error ( const char *  format,
const Args &...  args 
)
inline

Definition at line 95 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::error_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 101 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::fatal ( const char *  format,
const Args &...  args 
)
inline

Definition at line 108 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::fatal_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 114 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::info ( const char *  format,
const Args &...  args 
)
inline

Definition at line 69 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::info_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 75 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::warn ( const char *  format,
const Args &...  args 
)
inline

Definition at line 82 of file logger_interface.h.

template<typename Derived>
template<typename... Args>
void mavrosflight::LoggerInterface< Derived >::warn_throttle ( float  period,
const char *  format,
const Args &...  args 
)
inline

Definition at line 88 of file logger_interface.h.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:09:29