Functions | Variables
ros::this_node Namespace Reference

Contains functions which provide information about this process' ROS node. More...

Functions

ROSCPP_DECL void getAdvertisedTopics (V_string &topics)
 Get the list of topics advertised by this node.
ROSCPP_DECL const std::string & getName ()
 Returns the name of the current node.
ROSCPP_DECL const std::string & getNamespace ()
 Returns the namespace of the current node.
ROSCPP_DECL 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

Detailed Description

Contains functions which provide information about this process' ROS node.


Function Documentation

Get the list of topics advertised by this node.

Parameters:
[out]topicsThe advertised topics

Definition at line 65 of file this_node.cpp.

const std::string & ros::this_node::getName ( )

Returns the name of the current node.

Definition at line 55 of file this_node.cpp.

const std::string & ros::this_node::getNamespace ( )

Returns the namespace of the current node.

Definition at line 60 of file this_node.cpp.

Get the list of topics subscribed to by this node.

Parameters:
[out]Thesubscribed topics

Definition at line 70 of file this_node.cpp.

void ros::this_node::init ( const std::string &  names,
const M_string remappings,
uint32_t  options 
)

Definition at line 75 of file this_node.cpp.


Variable Documentation

std::string ros::this_node::g_name = "empty"

Definition at line 52 of file this_node.cpp.

Definition at line 53 of file this_node.cpp.



roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 04:01:04