17 #ifndef _SUBSCRIPTIONTRANSPORT_HH_
18 #define _SUBSCRIPTIONTRANSPORT_HH_
20 #include <boost/function.hpp>
21 #include <boost/shared_ptr.hpp>
59 public:
virtual bool HandleData(
const std::string &_newdata,
60 boost::function<
void(uint32_t)> _cb, uint32_t _id);
63 public:
virtual bool HandleMessage(
MessagePtr _newMsg);
72 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:44
transport/transport.hh
Definition: SubscriptionTransport.hh:39
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 GZ_TRANSPORT_VISIBLE
Definition: system.hh:159