Contains functions which provide information about this process' ROS node. More...
Classes | |
class | ThisNode |
Functions | |
ROSCPP_DECL void | getAdvertisedTopics (V_string &topics) |
Get the list of topics advertised by this node. More... | |
ROSCPP_DECL const std::string & | getName () |
Returns the name of the current node. More... | |
ROSCPP_DECL const std::string & | getNamespace () |
Returns the namespace of the current node. More... | |
ROSCPP_DECL void | getSubscribedTopics (V_string &topics) |
Get the list of topics subscribed to by this node. More... | |
void | init (const std::string &names, const M_string &remappings, uint32_t options) |
Contains functions which provide information about this process' ROS node.
void ros::this_node::getAdvertisedTopics | ( | V_string & | topics | ) |
Get the list of topics advertised by this node.
[out] | topics | The advertised topics |
Definition at line 91 of file this_node.cpp.
const std::string & ros::this_node::getName | ( | ) |
Returns the name of the current node.
Definition at line 81 of file this_node.cpp.
const std::string & ros::this_node::getNamespace | ( | ) |
Returns the namespace of the current node.
Definition at line 86 of file this_node.cpp.
void ros::this_node::getSubscribedTopics | ( | V_string & | topics | ) |
Get the list of topics subscribed to by this node.
[out] | The | subscribed topics |
Definition at line 96 of file this_node.cpp.
void ros::this_node::init | ( | const std::string & | names, |
const M_string & | remappings, | ||
uint32_t | options | ||
) |
Definition at line 101 of file this_node.cpp.