zbargui.h
Go to the documentation of this file.
00001 #ifndef ZBARGUI_H
00002 #define ZBARGUI_H
00003 
00004 #include <QtGui/QMainWindow>
00005 #include "ui_zbargui.h"
00006 #include "ros/ros.h"
00007 #include "std_msgs/String.h"
00008 #include "sensor_msgs/Image.h"
00009 #include "image_transport/image_transport.h"
00010 #include "cv_bridge/CvBridge.h"
00011 
00012 namespace Ui {
00013 class zbarGui;
00014 }
00015 
00016 class zbarGui : public QMainWindow, public Ui::zbarGui
00017 {
00018 public:
00019     Q_OBJECT
00020     
00021 public:
00022     explicit zbarGui(QWidget *parent = 0);
00023     ~zbarGui();
00024 
00025     ros::NodeHandle n_;
00026     image_transport::Subscriber image_sub_;
00027     void cameraDisplay(const sensor_msgs::ImageConstPtr& msg_ptr);
00028     ros::Subscriber uvc_sub;
00029     sensor_msgs::CvBridge bridge_;
00030     ros::ServiceClient client;
00031 
00032 //private:
00033 //    Ui::zbarGui *ui;
00034 
00035 signals:
00036         void SIG_updateImage(const IplImage*);
00037         void SIG_updateImage2(const IplImage*);
00038 
00039 public slots:
00040     void doStart();
00041     void doQuit();
00042     void SLT_updateImage(const IplImage* pIplImage);
00043     void SLT_updateImage2(const IplImage* pIplImage);
00044 };
00045 
00046 
00047 
00048 #endif // ZBARGUI_H


zbar_qt_ros
Author(s): banacer
autogenerated on Mon Oct 6 2014 10:57:25