camerathread.h
Go to the documentation of this file.
1 
18 #ifndef CAMERA_H
19 #define CAMERA_H
20 
21 #include <QThread>
22 #ifndef Q_MOC_RUN
23 #include <ros/ros.h>
24 #include <sensor_msgs/Image.h>
25 #include <ros/callback_queue.h>
26 #endif
27 
28 class CameraThread : public QThread
29 {
30  Q_OBJECT
31 public:
32  explicit CameraThread(QObject *parent = 0, std::string topicName = "");
33  void onImage(const sensor_msgs::Image::ConstPtr& msg);
34 
35 protected:
36  void run();
37 
38 private:
39  std::string topicName;
41 
42 
43 signals:
44  void imageReceived(const sensor_msgs::Image::ConstPtr& msg);
45 
46 public slots:
47 
48 };
49 
50 #endif // CAMERA_H
CameraThread(QObject *parent=0, std::string topicName="")
std::string topicName
Definition: camerathread.h:39
void imageReceived(const sensor_msgs::Image::ConstPtr &msg)
void onImage(const sensor_msgs::Image::ConstPtr &msg)
ros::Subscriber a
Definition: camerathread.h:40


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43