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)
Process a message. Must be implemented by the subclass.


image_transport
Author(s): Patrick Mihelich
autogenerated on Sat Apr 4 2020 03:14:58