17 #ifndef RCL__LOGGING_ROSOUT_H_
18 #define RCL__LOGGING_ROSOUT_H_
21 #include "rcl/error_handling.h"
24 #include "rcl/visibility_control.h"
37 static const rmw_qos_profile_t rcl_qos_profile_rosout_default =
39 RMW_QOS_POLICY_HISTORY_KEEP_LAST,
41 RMW_QOS_POLICY_RELIABILITY_RELIABLE,
42 RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL,
43 RMW_QOS_DEADLINE_DEFAULT,
45 RMW_QOS_POLICY_LIVELINESS_SYSTEM_DEFAULT,
46 RMW_QOS_LIVELINESS_LEASE_DURATION_DEFAULT,
184 const rcutils_log_location_t * location,
187 rcutils_time_point_value_t timestamp,
rcutils_allocator_t rcl_allocator_t
Encapsulation of an allocator.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_rosout_fini()
Uninitializes the rcl_logging_rosout features.
RCL_PUBLIC void rcl_logging_rosout_output_handler(const rcutils_log_location_t *location, int severity, const char *name, rcutils_time_point_value_t timestamp, const char *format, va_list *args)
The output handler outputs log messages to rosout topics.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_rosout_init_publisher_for_node(rcl_node_t *node)
Creates a rosout publisher for a node and registers it to be used by the logging system.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_rosout_fini_publisher_for_node(rcl_node_t *node)
Deregisters a rosout publisher for a node and cleans up allocated resources.
RCL_PUBLIC RCL_WARN_UNUSED rcl_ret_t rcl_logging_rosout_init(const rcl_allocator_t *allocator)
Initializes the rcl_logging_rosout features.
Structure which encapsulates a ROS Node.
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.