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 "XmlRpc.h"
Include dependency graph for master.cpp:

Go to the source code of this file.

Namespaces

namespace  ros
namespace  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.
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.
ROSCPP_DECL const std::string & ros::master::getHost ()
 Get the hostname where the master runs.
ROSCPP_DECL bool ros::master::getNodes (V_string &nodes)
 Retreives the currently-known list of nodes from the master.
ROSCPP_DECL uint32_t ros::master::getPort ()
 Get the port where the master runs.
ROSCPP_DECL bool ros::master::getTopics (V_TopicInfo &topics)
 Get the list of topics that are being published by all nodes.
ROSCPP_DECL const std::string & ros::master::getURI ()
 Get the full URI to the master (eg. http://host:port/)
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.

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
autogenerated on Thu Jun 6 2019 21:10:05