28 #ifndef ROSCPP_SINGLE_SUBSCRIBER_PUBLISHER_H 29 #define ROSCPP_SINGLE_SUBSCRIBER_PUBLISHER_H 35 #include <boost/utility.hpp> 83 using namespace serialization;
91 std::string getTopic()
const;
96 std::string getSubscriberName()
const;
106 #endif // ROSCPP_PUBLISHER_HANDLE_H void publish(const boost::shared_ptr< M const > &message) const
Publish a message on the topic associated with this Publisher.
void publish(const M &message) const
Publish a message on the topic associated with this Publisher.
Allows publication of a message to a single subscriber. Only available inside subscriber connection c...
SerializedMessage serializeMessage(const M &message)
void publish(const boost::shared_ptr< M > &message) const
Publish a message on the topic associated with this Publisher.