scenario_simulator_v2 C++ API
Macros
autoware_stream.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AUTOWARE_INFO_STREAM(...)    RCLCPP_INFO_STREAM(get_logger(), "\x1b[32m" << __VA_ARGS__ << "\x1b[0m")
 
#define AUTOWARE_WARN_STREAM(...)    RCLCPP_WARN_STREAM(get_logger(), "\x1b[33m" << __VA_ARGS__ << "\x1b[0m")
 
#define AUTOWARE_ERROR_STREAM(...)    RCLCPP_ERROR_STREAM(get_logger(), "\x1b[1;31m" << __VA_ARGS__ << "\x1b[0m")
 
#define AUTOWARE_SYSTEM_ERROR(FROM)
 

Macro Definition Documentation

◆ AUTOWARE_ERROR_STREAM

#define AUTOWARE_ERROR_STREAM (   ...)     RCLCPP_ERROR_STREAM(get_logger(), "\x1b[1;31m" << __VA_ARGS__ << "\x1b[0m")

◆ AUTOWARE_INFO_STREAM

#define AUTOWARE_INFO_STREAM (   ...)     RCLCPP_INFO_STREAM(get_logger(), "\x1b[32m" << __VA_ARGS__ << "\x1b[0m")

◆ AUTOWARE_SYSTEM_ERROR

#define AUTOWARE_SYSTEM_ERROR (   FROM)
Value:
"Error on calling " FROM ": " << std::system_error(errno, std::system_category()).what())
#define AUTOWARE_ERROR_STREAM(...)
Definition: autoware_stream.hpp:24

◆ AUTOWARE_WARN_STREAM

#define AUTOWARE_WARN_STREAM (   ...)     RCLCPP_WARN_STREAM(get_logger(), "\x1b[33m" << __VA_ARGS__ << "\x1b[0m")