17 #ifndef _SUBSCRIPTIONTRANSPORT_HH_
18 #define _SUBSCRIPTIONTRANSPORT_HH_
20 #include <boost/shared_ptr.hpp>
58 public:
virtual bool HandleData(
const std::string &_newdata,
59 boost::function<
void(uint32_t)> _cb, uint32_t _id);
62 public:
virtual bool HandleMessage(
MessagePtr _newMsg);
71 public:
virtual bool IsLocal()
const;
boost::shared_ptr< Connection > ConnectionPtr
Definition: Connection.hh:50
A helper class to handle callbacks when messages arrive.
Definition: CallbackHelper.hh:43
transport/transport.hh
Definition: SubscriptionTransport.hh:38
boost::shared_ptr< google::protobuf::Message > MessagePtr
Definition: TransportTypes.hh:45
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48