Loading...
Searching...
No Matches
GPSDevice.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3#if defined(OSSIA_PROTOCOL_GPS)
4#include <Device/Protocol/DeviceInterface.hpp>
5
6namespace Protocols
7{
8class GPSDevice final : public Device::OwningDeviceInterface
9{
10
11 W_OBJECT(GPSDevice)
12public:
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
21private:
22 const ossia::net::network_context_ptr& m_ctx;
23};
24}
25#endif
Definition DeviceInterface.hpp:185
Definition DeviceSettings.hpp:20