#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"
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 | |
| bool | ros::master::check () |
| Check whether the master is up. | |
| 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. | |
| const std::string & | ros::master::getHost () |
| Get the hostname where the master runs. | |
| bool | ros::master::getNodes (V_string &nodes) |
| Retreives the currently-known list of nodes from the master. | |
| uint32_t | ros::master::getPort () |
| Get the port where the master runs. | |
| bool | ros::master::getTopics (V_TopicInfo &topics) |
| Get the list of topics that are being published by all nodes. | |
| 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) |
| 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 |