Public Member Functions | List of all members
rosflight::ROSLogger Class Reference

Logger implementation for ROS environments. More...

#include <ros_logger.h>

Inheritance diagram for rosflight::ROSLogger:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from mavrosflight::LoggerInterface< ROSLogger >
void debug (const char *format, const Args &...args)
 
void debug_throttle (float period, const char *format, const Args &...args)
 
void error (const char *format, const Args &...args)
 
void error_throttle (float period, const char *format, const Args &...args)
 
void fatal (const char *format, const Args &...args)
 
void fatal_throttle (float period, const char *format, const Args &...args)
 
void info (const char *format, const Args &...args)
 
void info_throttle (float period, const char *format, const Args &...args)
 
void warn (const char *format, const Args &...args)
 
void warn_throttle (float period, const char *format, const Args &...args)
 

Detailed Description

Logger implementation for ROS environments.

This is a convenience logger implementation for ROS-based projects. The implementation simply forwards messages to the appropriate rosconsole loggers.

Definition at line 54 of file ros_logger.h.

Member Function Documentation

template<typename... Args>
void rosflight::ROSLogger::debug ( const char *  format,
const Args &...  args 
)
inline

Definition at line 58 of file ros_logger.h.

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

Definition at line 66 of file ros_logger.h.

template<typename... Args>
void rosflight::ROSLogger::error ( const char *  format,
const Args &...  args 
)
inline

Definition at line 109 of file ros_logger.h.

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

Definition at line 117 of file ros_logger.h.

template<typename... Args>
void rosflight::ROSLogger::fatal ( const char *  format,
const Args &...  args 
)
inline

Definition at line 126 of file ros_logger.h.

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

Definition at line 134 of file ros_logger.h.

template<typename... Args>
void rosflight::ROSLogger::info ( const char *  format,
const Args &...  args 
)
inline

Definition at line 75 of file ros_logger.h.

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

Definition at line 83 of file ros_logger.h.

template<typename... Args>
void rosflight::ROSLogger::warn ( const char *  format,
const Args &...  args 
)
inline

Definition at line 92 of file ros_logger.h.

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

Definition at line 100 of file ros_logger.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