PhidgetsDevice.hpp
1 #pragma once
2 #include <Device/Protocol/DeviceInterface.hpp>
3 
4 namespace Protocols
5 {
7 {
8  W_OBJECT(PhidgetDevice)
9 public:
10  PhidgetDevice(const Device::DeviceSettings& settings);
11 
12  bool reconnect() override;
13 
14 public:
15  void sig_command() W_SIGNAL(sig_command);
16 
17 private:
18  void slot_command();
19  W_SLOT(slot_command);
20 
21 private:
22  void timerEvent(QTimerEvent* event) override;
23  int m_timer{-1};
24 };
25 }
Definition: DeviceInterface.hpp:185
Definition: PhidgetsDevice.hpp:7
Definition: DeviceSettings.hpp:20