SerialDevice.hpp
1 #pragma once
2 #include <ossia/detail/config.hpp>
3 #if defined(OSSIA_PROTOCOL_SERIAL)
4 #include <Device/Protocol/DeviceInterface.hpp>
5 
6 namespace Protocols
7 {
9 {
10 public:
12  const Device::DeviceSettings& stngs, const ossia::net::network_context_ptr& ctx);
13 
14  ~SerialDevice();
15 
16  bool reconnect() override;
17  void disconnect() override;
18 
19 private:
20  const ossia::net::network_context_ptr& m_ctx;
21 };
22 }
23 #endif
Definition: DeviceInterface.hpp:185
Definition: SerialDevice.hpp:9
Definition: DeviceSettings.hpp:20