Implement get_name()

This commit is contained in:
Esteve Fernandez 2015-05-19 16:34:46 -07:00
parent 5a74f32ba0
commit 21d766b511

View file

@ -95,8 +95,8 @@ public:
Node(std::string node_name, rclcpp::context::Context::SharedPtr context);
/* Get the name of the node. */
std::string
get_name();
const std::string &
get_name() const {return name_; }
/* Create and return a callback group. */
rclcpp::callback_group::CallbackGroup::SharedPtr