Handles sending data over the wire to remote subscribers. More...
#include <SubscriptionTransport.hh>
Public Member Functions | |
SubscriptionTransport () | |
Constructor. | |
virtual | ~SubscriptionTransport () |
Destructor. | |
const ConnectionPtr & | GetConnection () 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 |
Handles sending data over the wire to remote subscribers.
gazebo::transport::SubscriptionTransport::SubscriptionTransport | ( | ) |
Constructor.
|
virtual |
Destructor.
const ConnectionPtr& gazebo::transport::SubscriptionTransport::GetConnection | ( | ) | const |
Get the connection.
|
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 |
Return true if the callback is local, false if the callback is tied to a remote connection.
Implements gazebo::transport::CallbackHelper.