JoystickDevice.hpp
1 #pragma once
2 #include <Device/Protocol/DeviceInterface.hpp>
3 
4 namespace Protocols
5 {
6 struct JoystickSpecificSettings;
8 {
9  W_OBJECT(JoystickDevice)
10 public:
12  const Device::DeviceSettings& settings,
13  const ossia::net::network_context_ptr& ctx);
14  ~JoystickDevice();
15 
16  bool reconnect() override;
17  void disconnect() override;
18 
19 private:
20  template <typename T>
21  void do_reconnect(JoystickSpecificSettings& stgs);
22  const ossia::net::network_context_ptr& m_ctx;
23 };
24 }
Definition: DeviceInterface.hpp:185
Definition: JoystickDevice.hpp:8
Definition: DeviceSettings.hpp:20
Definition: JoystickSpecificSettings.hpp:11