35 #ifndef IMAGE_TRANSPORT_SUBSCRIBER_H
36 #define IMAGE_TRANSPORT_SUBSCRIBER_H
39 #include <sensor_msgs/Image.h>
73 std::string getTopic()
const;
78 uint32_t getNumPublishers()
const;
83 std::string getTransport()
const;
90 operator void*()
const;
91 bool operator< (
const Subscriber& rhs)
const {
return impl_ < rhs.impl_; }
92 bool operator!=(
const Subscriber& rhs)
const {
return impl_ != rhs.impl_; }
93 bool operator==(
const Subscriber& rhs)
const {
return impl_ == rhs.impl_; }
97 const boost::function<
void(
const sensor_msgs::ImageConstPtr&)>& callback,
103 typedef boost::weak_ptr<Impl>
ImplWPtr;