Macros
inject_rosconsole.h File Reference

Include this file if you want to override the ROS_ or NODELET_ logging macros with CRAS logging macros. Type CRAS_RESTORE_ROS_LOG to get the original definitions back. Use this with care. More...

Go to the source code of this file.

Macros

#define CRAS_RESTORE_ROS_LOG
 Restore original ROS_* and NODELET_* macro definitions after they were altered by including inject_rosconsole.h. More...
 
#define ROS_LOG_DELAYED_THROTTLE(...)   CRAS_LOG_DELAYED_THROTTLE(getCrasLogger(), __VA_ARGS__)
 
#define ROS_LOG_STREAM_DELAYED_THROTTLE(...)   CRAS_LOG_STREAM_DELAYED_THROTTLE(getCrasLogger(), __VA_ARGS__)
 
#define ROS_LOG_STREAM_THROTTLE(...)   CRAS_LOG_STREAM_THROTTLE(getCrasLogger(), __VA_ARGS__)
 
#define ROS_LOG_THROTTLE(...)   CRAS_LOG_THROTTLE(getCrasLogger(), __VA_ARGS__)
 
#define ROSCONSOLE_AUTOINIT(...)   CRASCONSOLE_AUTOINIT(getCrasLogger(), __VA_ARGS__)
 
#define ROSCONSOLE_DEFINE_LOCATION(...)   CRASCONSOLE_DEFINE_LOCATION(getCrasLogger(), __VA_ARGS__)
 
#define ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER(...)   CRASCONSOLE_PRINT_AT_LOCATION_WITH_FILTER(getCrasLogger(), __VA_ARGS__) /* NOLINT */
 
#define ROSCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER(...)   CRASCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER(getCrasLogger(), __VA_ARGS__) /* NOLINT */
 

Detailed Description

Include this file if you want to override the ROS_ or NODELET_ logging macros with CRAS logging macros. Type CRAS_RESTORE_ROS_LOG to get the original definitions back. Use this with care.

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file inject_rosconsole.h.

Macro Definition Documentation

◆ CRAS_RESTORE_ROS_LOG

#define CRAS_RESTORE_ROS_LOG
Value:
_Pragma("pop_macro(\"ROSCONSOLE_AUTOINIT\")") \
_Pragma("pop_macro(\"ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER\")") \
_Pragma("pop_macro(\"ROSCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER\")") \
_Pragma("pop_macro(\"ROSCONSOLE_DEFINE_LOCATION\")") \
_Pragma("pop_macro(\"ROS_LOG_THROTTLE\")") \
_Pragma("pop_macro(\"ROS_LOG_STREAM_THROTTLE\")") \
_Pragma("pop_macro(\"ROS_LOG_DELAYED_THROTTLE\")") \
_Pragma("pop_macro(\"ROS_LOG_STREAM_DELAYED_THROTTLE\")")

Restore original ROS_* and NODELET_* macro definitions after they were altered by including inject_rosconsole.h.

Definition at line 42 of file inject_rosconsole.h.

◆ ROS_LOG_DELAYED_THROTTLE

#define ROS_LOG_DELAYED_THROTTLE (   ...)    CRAS_LOG_DELAYED_THROTTLE(getCrasLogger(), __VA_ARGS__)

Definition at line 34 of file inject_rosconsole.h.

◆ ROS_LOG_STREAM_DELAYED_THROTTLE

#define ROS_LOG_STREAM_DELAYED_THROTTLE (   ...)    CRAS_LOG_STREAM_DELAYED_THROTTLE(getCrasLogger(), __VA_ARGS__)

Definition at line 35 of file inject_rosconsole.h.

◆ ROS_LOG_STREAM_THROTTLE

#define ROS_LOG_STREAM_THROTTLE (   ...)    CRAS_LOG_STREAM_THROTTLE(getCrasLogger(), __VA_ARGS__)

Definition at line 33 of file inject_rosconsole.h.

◆ ROS_LOG_THROTTLE

#define ROS_LOG_THROTTLE (   ...)    CRAS_LOG_THROTTLE(getCrasLogger(), __VA_ARGS__)

Definition at line 32 of file inject_rosconsole.h.

◆ ROSCONSOLE_AUTOINIT

#define ROSCONSOLE_AUTOINIT (   ...)    CRASCONSOLE_AUTOINIT(getCrasLogger(), __VA_ARGS__)

Definition at line 28 of file inject_rosconsole.h.

◆ ROSCONSOLE_DEFINE_LOCATION

#define ROSCONSOLE_DEFINE_LOCATION (   ...)    CRASCONSOLE_DEFINE_LOCATION(getCrasLogger(), __VA_ARGS__)

Definition at line 31 of file inject_rosconsole.h.

◆ ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER

#define ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER (   ...)    CRASCONSOLE_PRINT_AT_LOCATION_WITH_FILTER(getCrasLogger(), __VA_ARGS__) /* NOLINT */

Definition at line 29 of file inject_rosconsole.h.

◆ ROSCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER

#define ROSCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER (   ...)    CRASCONSOLE_PRINT_STREAM_AT_LOCATION_WITH_FILTER(getCrasLogger(), __VA_ARGS__) /* NOLINT */

Definition at line 30 of file inject_rosconsole.h.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04