Namespaces | Functions | Variables
master.cpp File Reference
#include "ros/master.h"
#include "ros/xmlrpc_manager.h"
#include "ros/this_node.h"
#include "ros/init.h"
#include "ros/network.h"
#include <ros/console.h>
#include <ros/assert.h>
#include "xmlrpcpp/XmlRpc.h"
Include dependency graph for master.cpp:

Go to the source code of this file.


 Contains functions which allow you to query information about the master.


ROSCPP_DECL bool ros::master::check ()
 Check whether the master is up. More...
ROSCPP_DECL bool ros::master::execute (const std::string &method, const XmlRpc::XmlRpcValue &request, XmlRpc::XmlRpcValue &response, XmlRpc::XmlRpcValue &payload, bool wait_for_master)
 Execute an XMLRPC call on the master. More...
const ROSCPP_DECL std::string & ros::master::getHost ()
 Get the hostname where the master runs. More...
ROSCPP_DECL bool ros::master::getNodes (V_string &nodes)
 Retreives the currently-known list of nodes from the master. More...
ROSCPP_DECL uint32_t ros::master::getPort ()
 Get the port where the master runs. More...
ROSCPP_DECL bool ros::master::getTopics (V_TopicInfo &topics)
 Get the list of topics that are being published by all nodes. More...
const ROSCPP_DECL std::string & ros::master::getURI ()
 Get the full URI to the master (eg. http://host:port/) More...
void ros::master::init (const M_string &remappings)
ROSCPP_DECL void ros::master::setRetryTimeout (ros::WallDuration timeout)
 Set the max time this node should spend looping trying to connect to the master. More...


std::string ros::master::g_host
uint32_t ros::master::g_port = 0
ros::WallDuration ros::master::g_retry_timeout
std::string ros::master::g_uri

Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:44