All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::transport::SubscriptionTransport Class Reference

Handles sending data over the wire to remote subscribers. More...

#include <SubscriptionTransport.hh>

Inheritance diagram for gazebo::transport::SubscriptionTransport:
Inheritance graph
[legend]

Public Member Functions

 SubscriptionTransport ()
 Constructor.
 
virtual ~SubscriptionTransport ()
 Destructor.
 
const ConnectionPtrGetConnection () const
 Get the connection.
 
virtual bool HandleData (const std::string &newdata)
 Output a message to a connection.
 
void Init (const ConnectionPtr &conn, bool _latching)
 Initialize the publication link.
 
virtual bool IsLocal () const
 Return true if the callback is local, false if the callback is tied to a remote connection.
 
- Public Member Functions inherited from gazebo::transport::CallbackHelper
 CallbackHelper ()
 
virtual ~CallbackHelper ()
 
bool GetLatching () const
 
virtual std::string GetMsgType () const
 Get the typename of the message that is handled.
 

Additional Inherited Members

- Protected Attributes inherited from gazebo::transport::CallbackHelper
bool latching
 

Detailed Description

Handles sending data over the wire to remote subscribers.

Constructor & Destructor Documentation

gazebo::transport::SubscriptionTransport::SubscriptionTransport ( )

Constructor.

virtual gazebo::transport::SubscriptionTransport::~SubscriptionTransport ( )
virtual

Destructor.

Member Function Documentation

const ConnectionPtr& gazebo::transport::SubscriptionTransport::GetConnection ( ) const

Get the connection.

virtual bool gazebo::transport::SubscriptionTransport::HandleData ( const std::string &  newdata)
virtual

Output a message to a connection.

Implements gazebo::transport::CallbackHelper.

void gazebo::transport::SubscriptionTransport::Init ( const ConnectionPtr conn,
bool  _latching 
)

Initialize the publication link.

virtual bool gazebo::transport::SubscriptionTransport::IsLocal ( ) const
virtual

Return true if the callback is local, false if the callback is tied to a remote connection.

Implements gazebo::transport::CallbackHelper.


The documentation for this class was generated from the following file: