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;
Forward declarations for the common classes.
Definition: Animation.hh:26
A helper class to handle callbacks when messages arrive.
Definition: CallbackHelper.hh:44
boost::shared_ptr< google::protobuf::Message > MessagePtr
Definition: TransportTypes.hh:45
transport/transport.hh
Definition: SubscriptionTransport.hh:39
boost::shared_ptr< Connection > ConnectionPtr
Definition: Connection.hh:51
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.