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