transport/transport.hh
More...
#include <SubscriptionTransport.hh>
transport/transport.hh
Handles sending data over the wire to remote subscribers
gazebo::transport::SubscriptionTransport::SubscriptionTransport |
( |
| ) |
|
virtual gazebo::transport::SubscriptionTransport::~SubscriptionTransport |
( |
| ) |
|
|
virtual |
const ConnectionPtr& gazebo::transport::SubscriptionTransport::GetConnection |
( |
| ) |
const |
Get the connection we're using.
- Returns
- Pointer to the connection we're using
virtual bool gazebo::transport::SubscriptionTransport::HandleData |
( |
const std::string & |
_newdata | ) |
|
|
virtual |
Output a message to a connection.
- Parameters
-
[in] | _newdata | The message to be handled |
- Returns
- true if the message was handled successfully, false otherwise
Implements gazebo::transport::CallbackHelper.
void gazebo::transport::SubscriptionTransport::Init |
( |
const ConnectionPtr & |
_conn, |
|
|
bool |
_latching |
|
) |
| |
Initialize the publication link.
- Parameters
-
[in] | _conn | The connection to use |
[in] | _latching | If true, latch the latest message; if false, don't latch |
virtual bool gazebo::transport::SubscriptionTransport::IsLocal |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following file: