Functions
roswrap::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. 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...
 

Detailed Description

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

Function Documentation

◆ getAdvertisedTopics()

ROSCPP_DECL void roswrap::this_node::getAdvertisedTopics ( V_string topics)

Get the list of topics advertised by this node.

Parameters
[out]topicsThe advertised topics

◆ getName()

const ROSCPP_DECL std::string& roswrap::this_node::getName ( )

Returns the name of the current node.

Definition at line 343 of file rossimu.cpp.

◆ getNamespace()

const ROSCPP_DECL std::string& roswrap::this_node::getNamespace ( )

Returns the namespace of the current node.

◆ getSubscribedTopics()

ROSCPP_DECL void roswrap::this_node::getSubscribedTopics ( V_string topics)

Get the list of topics subscribed to by this node.

Parameters
[out]Thesubscribed topics


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:20