All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
gazebo::transport Namespace Reference

Classes

class  CallbackHelper
 A helper class to handle callbacks when messages arrive. More...
class  CallbackHelperT
 Callback helper Template. More...
class  Connection
 Single TCP/IP connection manager. More...
class  ConnectionManager
 Manager of connections. More...
class  ConnectionReadTask
  More...
class  IOManager
 Manages boost::asio IO. More...
class  Node
 A node can advertise and subscribe topics, publish on advertised topics and listen to subscribed topics. More...
class  Publication
 A publication for a topic. More...
class  PublicationTransport
 transport/transport.hh More...
class  Publisher
 A publisher of messages on a topic. More...
class  PublishTask
  More...
class  RawCallbackHelper
 Used to connect publishers to subscribers, where the subscriber wants the raw data from the publisher. More...
class  SubscribeOptions
 Options for a subscription. More...
class  Subscriber
 A subscriber to a topic. More...
class  SubscriptionTransport
 transport/transport.hh More...
class  TopicManager
 Manages topics and their subscriptions. More...

Typedefs

typedef boost::shared_ptr
< CallbackHelper
CallbackHelperPtr
 boost shared pointer to transport::CallbackHelper
typedef boost::shared_ptr
< Connection
ConnectionPtr
typedef boost::shared_ptr
< google::protobuf::Message > 
MessagePtr
typedef boost::shared_ptr< NodeNodePtr
typedef boost::shared_ptr
< Publication
PublicationPtr
typedef boost::shared_ptr
< PublicationTransport
PublicationTransportPtr
typedef boost::shared_ptr
< Publisher
PublisherPtr
typedef boost::shared_ptr
< Subscriber
SubscriberPtr
typedef boost::shared_ptr
< SubscriptionTransport
SubscriptionTransportPtr

Functions

void clear_buffers ()
 Clear any remaining communication buffers.
void fini ()
 Cleanup the transport component.
bool 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 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 > > 
getAdvertisedTopics ()
 Get a list of all the topics and their message types.
std::list< std::string > getAdvertisedTopics (const std::string &_msgType)
 Get a list of all the unique advertised topic names.
bool getMinimalComms ()
 Get whether minimal comms has been enabled.
std::string getTopicMsgType (const std::string &_topicName)
 Get the message typename that is published on the given topic.
bool init (const std::string &_master_host="", unsigned int _master_port=0)
 Initialize the transport system.
bool is_stopped ()
 Is the transport system stopped?
void pause_incoming (bool _pause)
 Pause or unpause incoming messages.
template<typename M >
void publish (const std::string &_topic, const google::protobuf::Message &_message)
 A convenience function for a one-time publication of a message.
boost::shared_ptr< msgs::Response > request (const std::string &_worldName, const std::string &_request, const std::string &_data="")
 Send a request and receive a response.
void requestNoReply (const std::string &_worldName, const std::string &_request, const std::string &_data="")
 Send a request and don't wait for a response.
void requestNoReply (NodePtr _node, const std::string &_request, const std::string &_data="")
 Send a request and don't wait for a response.
void run ()
 Run the transport component.
void setMinimalComms (bool _enabled)
 Set whether minimal comms should be used.
void stop ()
 Stop the transport component from running.

Typedef Documentation

typedef boost::shared_ptr<Connection> gazebo::transport::ConnectionPtr
typedef boost::shared_ptr<google::protobuf::Message> gazebo::transport::MessagePtr
typedef boost::shared_ptr<Node> gazebo::transport::NodePtr
typedef boost::shared_ptr<Publication> gazebo::transport::PublicationPtr
typedef boost::shared_ptr<Publisher> gazebo::transport::PublisherPtr
typedef boost::shared_ptr<Subscriber> gazebo::transport::SubscriberPtr