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.

Namespaces

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

Functions

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...
 
ROSCPP_DECL const 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...
 
ROSCPP_DECL const 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...
 

Variables

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
 


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27