compressed_subscriber.h
Go to the documentation of this file.
00001 #include "message_transport/simple_subscriber_plugin.h"
00002 #include <sensor_msgs/Image.h>
00003 #include <sensor_msgs/CompressedImage.h>
00004 
00005 namespace compressed_imagem_transport {
00006 
00007     class CompressedSubscriber : public message_transport::SimpleSubscriberPlugin<sensor_msgs::Image,sensor_msgs::CompressedImage>
00008     {
00009         public:
00010             virtual ~CompressedSubscriber() {}
00011 
00012             virtual std::string getTransportName() const
00013             {
00014                 return "compressed";
00015             }
00016 
00017         protected:
00018             virtual void internalCallback(const sensor_msgs::CompressedImageConstPtr& message,
00019                     const message_transport::SimpleSubscriberPlugin<sensor_msgs::Image,sensor_msgs::CompressedImage>::Callback& user_cb);
00020     };
00021 
00022 } //namespace message_transport


compressed_imagem_transport
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:49:37