Topic names (#331)

* expand topic name before invoking count pub/sub

* convenience function for get_namespace()

* uncrustify

* typo

* add get_namespace() test

* add get_namespace() for lifecycle
This commit is contained in:
Karsten Knese 2017-06-01 14:01:18 -07:00 committed by GitHub
parent b90676871d
commit 454d38776c
10 changed files with 83 additions and 5 deletions

View file

@ -102,6 +102,12 @@ public:
const char *
get_name() const;
/// Get the namespace of the node.
// \return The namespace of the node.
RCLCPP_LIFECYCLE_PUBLIC
const char *
get_namespace() const;
/// Create and return a callback group.
RCLCPP_LIFECYCLE_PUBLIC
rclcpp::callback_group::CallbackGroup::SharedPtr