Contains functions which provide information about this process' ROS node. More...
Functions | |
void | getAdvertisedTopics (V_string &topics) |
Get the list of topics advertised by this node. | |
const std::string & | getName () |
Returns the name of the current node. | |
const std::string & | getNamespace () |
Returns the namespace of the current node. | |
void | getSubscribedTopics (V_string &topics) |
Get the list of topics subscribed to by this node. | |
void | init (const std::string &names, const M_string &remappings, uint32_t options) |
Variables | |
std::string | g_name = "empty" |
std::string | g_namespace |
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 58 of file this_node.cpp.
const std::string & ros::this_node::getName | ( | ) |
Returns the name of the current node.
Definition at line 48 of file this_node.cpp.
const std::string & ros::this_node::getNamespace | ( | ) |
Returns the namespace of the current node.
Definition at line 53 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 63 of file this_node.cpp.
void ros::this_node::init | ( | const std::string & | names, | |
const M_string & | remappings, | |||
uint32_t | options | |||
) |
Definition at line 68 of file this_node.cpp.
std::string ros::this_node::g_name = "empty" |
Definition at line 45 of file this_node.cpp.
std::string ros::this_node::g_namespace |
Definition at line 46 of file this_node.cpp.