resized_subscriber.h
Go to the documentation of this file.
2 #include <image_transport_tutorial/ResizedImage.h>
3 
4 class ResizedSubscriber : public image_transport::SimpleSubscriberPlugin<image_transport_tutorial::ResizedImage>
5 {
6 public:
7  virtual ~ResizedSubscriber() {}
8 
9  virtual std::string getTransportName() const
10  {
11  return "resized";
12  }
13 
14 protected:
15  virtual void internalCallback(const typename image_transport_tutorial::ResizedImage::ConstPtr& message,
16  const Callback& user_cb);
17 };
virtual ~ResizedSubscriber()
boost::function< void(const sensor_msgs::ImageConstPtr &)> Callback
virtual std::string getTransportName() const
Get a string identifier for the transport provided by this plugin.
Base class to simplify implementing most plugins to Subscriber.
virtual void internalCallback(const typename image_transport_tutorial::ResizedImage::ConstPtr &message, const Callback &user_cb)


image_transport
Author(s): Patrick Mihelich
autogenerated on Mon Feb 28 2022 22:31:45