15 #include "rclcpp/node_interfaces/node_logging.hpp"
20 : node_base_(node_base)
25 NodeLogging::~NodeLogging()
Pure virtual interface class for the NodeBase part of the Node API.
virtual RCLCPP_PUBLIC rcl_node_t * get_rcl_node_handle()=0
Return the rcl_node_t node handle (non-const version).
Implementation of the NodeLogging part of the Node API.
RCLCPP_PUBLIC const char * get_logger_name() const override
Return the logger name associated with the node.
RCLCPP_PUBLIC rclcpp::Logger get_logger() const override
Return the logger of the node.
RCLCPP_PUBLIC Logger get_logger(const std::string &name)
Return a named logger.
RCL_PUBLIC RCL_WARN_UNUSED const char * rcl_node_get_logger_name(const rcl_node_t *node)
Return the logger name of the node.