Go to the documentation of this file.
29 #ifndef ROSCPP_MASTER_H
30 #define ROSCPP_MASTER_H
33 #include "xmlrpcpp/XmlRpcValue.h"
89 TopicInfo(
const std::string& _name,
const std::string& _datatype )
const std::string response
ROSCPP_DECL bool check()
Check whether the master is up.
std::vector< TopicInfo > V_TopicInfo
ROSCPP_DECL bool getNodes(V_string &nodes)
Retreives the currently-known list of nodes from the master.
const char * datatype()
returns DataType<M>::value();
ROSCPP_DECL bool 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.
TopicInfo(const std::string &_name, const std::string &_datatype)
std::string name
Name of the topic.
ROSCPP_DECL void setRetryTimeout(ros::WallDuration timeout)
Set the max time this node should spend looping trying to connect to the master.
const ROSCPP_DECL std::string & getURI()
Get the full URI to the master (eg. http://host:port/)
std::string datatype
Datatype of the topic.
ROSCPP_DECL bool getTopics(V_TopicInfo &topics)
Get the list of topics that are being published by all nodes.
Contains information retrieved from the master about a topic.
ROSCPP_DECL uint32_t getPort()
Get the port where the master runs.
const ROSCPP_DECL std::string & getHost()
Get the hostname where the master runs.
RPC method arguments and results are represented by Values.
std::vector< std::string > V_string
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09