Classes | Functions
ros::this_node Namespace Reference

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...
 
const ROSCPP_DECL std::string & getName ()
 Returns the name of the current node. More...
 
const ROSCPP_DECL 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)
 

Detailed Description

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

Function Documentation

◆ getAdvertisedTopics()

void ros::this_node::getAdvertisedTopics ( V_string topics)

Get the list of topics advertised by this node.

Parameters
[out]topicsThe advertised topics

Definition at line 84 of file this_node.cpp.

◆ getName()

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

Returns the name of the current node.

Definition at line 74 of file this_node.cpp.

◆ getNamespace()

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

Returns the namespace of the current node.

Definition at line 79 of file this_node.cpp.

◆ getSubscribedTopics()

void ros::this_node::getSubscribedTopics ( V_string topics)

Get the list of topics subscribed to by this node.

Parameters
[out]Thesubscribed topics

Definition at line 89 of file this_node.cpp.

◆ init()

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

Definition at line 94 of file this_node.cpp.



roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36