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.


namespace  ros
namespace  ros::master

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


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.


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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com, Troy Straszheim straszheim@willowgarage.com
autogenerated on Sat Mar 2 13:23:05 2013