Object Detection  5.0
Image Processing Using Qt and Opencv
devicemanager.h
1 #ifndef DEVICEMANAGER_H
2 #define DEVICEMANAGER_H
3 
4 #include "abstractdevicewriter.h"
5 #include "devicehandler_global.h"
6 
7 #include <QObject>
8 namespace Devices {
9  class DECLARE_LIB DeviceManager;
10 }
11 using namespace Devices;
12 class Devices::DeviceManager : public QObject
13 {
14  Q_OBJECT
15 public:
16  static DeviceManager &instance(QObject* parent = nullptr);
17  Devices::AbstractDeviceWriter *devWriter() const;
18 protected:
19  void setDevWriter(Devices::AbstractDeviceWriter *devWriter);
20  explicit DeviceManager(QObject *parent = nullptr);
21 private:
23 signals:
24 
25 public slots:
26 };
27 
28 #endif // DEVICEMANAGER_H