Expose get_node_names API from node. (#508)
* Exposing get_node_names from node handle Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * Exposing get_node_names from node handle for lifecycle_nodes Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com> * Fix stray demangle type
This commit is contained in:
parent
4507d7a40b
commit
93e2945802
4 changed files with 20 additions and 0 deletions
|
@ -300,6 +300,10 @@ public:
|
|||
void
|
||||
register_param_change_callback(CallbackT && callback);
|
||||
|
||||
RCLCPP_LIFECYCLE_PUBLIC
|
||||
std::vector<std::string>
|
||||
get_node_names() const;
|
||||
|
||||
RCLCPP_LIFECYCLE_PUBLIC
|
||||
std::map<std::string, std::vector<std::string>>
|
||||
get_topic_names_and_types(bool no_demangle = false) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue