All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Transport.hh File Reference
#include <boost/bind.hpp>
#include <string>
#include <list>
#include <map>
#include "transport/TransportTypes.hh"
#include "transport/SubscribeOptions.hh"
#include "transport/TopicManager.hh"
Include dependency graph for Transport.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

void gazebo::transport::clear_buffers ()
 Clear any remaining communication buffers.
 
void gazebo::transport::fini ()
 Cleanup the transport component.
 
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.
 
void gazebo::transport::get_topic_namespaces (std::list< std::string > &_namespaces)
 Return all the namespace (world names) on the master.
 
std::map< std::string,
std::list< std::string > > 
gazebo::transport::getAdvertisedTopics ()
 Get a list of all the topics and their message types.
 
std::list< std::string > gazebo::transport::getAdvertisedTopics (const std::string &_msgType)
 Get a list of all the unique advertised topic names.
 
std::string gazebo::transport::getTopicMsgType (const std::string &_topicName)
 Get the message typename that is published on the given topic.
 
bool gazebo::transport::init (const std::string &_master_host="", unsigned int _master_port=0)
 Initialize the transport system.
 
bool gazebo::transport::is_stopped ()
 Is the transport system stopped?
 
void gazebo::transport::pause_incoming (bool _pause)
 Pause or unpause incoming messages.
 
msgs::Response * gazebo::transport::request (const std::string &_worldName, const std::string &_request, const std::string &_data="")
 Send a request and receive a response.
 
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.
 
void gazebo::transport::requestNoReply (NodePtr _node, const std::string &_request, const std::string &_data="")
 Send a request and don't wait for a response.
 
void gazebo::transport::run ()
 Run the transport component.
 
void gazebo::transport::stop ()
 Stop the transport component from running.