Namespaces | Functions
TransportIface.hh File Reference
#include <boost/bind.hpp>
#include <string>
#include <list>
#include <map>
#include "gazebo/transport/TransportTypes.hh"
#include "gazebo/transport/SubscribeOptions.hh"
#include "gazebo/transport/Node.hh"
#include "gazebo/transport/TopicManager.hh"
Include dependency graph for TransportIface.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gazebo
 Forward declarations for the common classes.
 
 gazebo::transport
 

Functions

GAZEBO_VISIBLE void gazebo::transport::clear_buffers ()
 Clear any remaining communication buffers. More...
 
GAZEBO_VISIBLE
transport::ConnectionPtr 
gazebo::transport::connectToMaster ()
 Create a connection to master. More...
 
GAZEBO_VISIBLE void gazebo::transport::fini ()
 Cleanup the transport component. More...
 
GAZEBO_VISIBLE bool gazebo::transport::get_master_uri (std::string &_master_host, unsigned int &_master_port)
 Get the hostname and port of the master from the GAZEBO_MASTER_URI environment variable. More...
 
GAZEBO_VISIBLE void gazebo::transport::get_topic_namespaces (std::list< std::string > &_namespaces)
 Return all the namespace (world names) on the master. More...
 
GAZEBO_VISIBLE std::map
< std::string, std::list
< std::string > > 
gazebo::transport::getAdvertisedTopics ()
 Get a list of all the topics and their message types. More...
 
GAZEBO_VISIBLE std::list
< std::string > 
gazebo::transport::getAdvertisedTopics (const std::string &_msgType)
 Get a list of all the unique advertised topic names. More...
 
GAZEBO_VISIBLE bool gazebo::transport::getMinimalComms ()
 Get whether minimal comms has been enabled. More...
 
GAZEBO_VISIBLE std::string gazebo::transport::getTopicMsgType (const std::string &_topicName)
 Get the message typename that is published on the given topic. More...
 
GAZEBO_VISIBLE bool gazebo::transport::init (const std::string &_masterHost="", unsigned int _masterPort=0, uint32_t _timeoutIterations=30)
 Initialize the transport system. More...
 
bool gazebo::transport::is_stopped ()
 Is the transport system stopped? More...
 
GAZEBO_VISIBLE void gazebo::transport::pause_incoming (bool _pause)
 Pause or unpause incoming messages. More...
 
template<typename M >
GAZEBO_VISIBLE void gazebo::transport::publish (const std::string &_topic, const google::protobuf::Message &_message)
 A convenience function for a one-time publication of a message. More...
 
GAZEBO_VISIBLE
boost::shared_ptr
< msgs::Response > 
gazebo::transport::request (const std::string &_worldName, const std::string &_request, const std::string &_data="")
 Send a request and receive a response. More...
 
GAZEBO_VISIBLE void gazebo::transport::requestNoReply (const std::string &_worldName, const std::string &_request, const std::string &_data="")
 Send a request and don't wait for a response. More...
 
GAZEBO_VISIBLE void gazebo::transport::requestNoReply (NodePtr _node, const std::string &_request, const std::string &_data="")
 Send a request and don't wait for a response. More...
 
GAZEBO_VISIBLE void gazebo::transport::run ()
 Run the transport component. More...
 
GAZEBO_VISIBLE void gazebo::transport::setMinimalComms (bool _enabled)
 Set whether minimal comms should be used. More...
 
GAZEBO_VISIBLE void gazebo::transport::stop ()
 Stop the transport component from running. More...
 
GAZEBO_VISIBLE bool gazebo::transport::waitForNamespaces (const gazebo::common::Time &_maxWait)
 Blocks while waiting for topic namespaces from the Master. More...