ArtnetDevice.hpp
1 #pragma once
2 #include <ossia/detail/config.hpp>
3 #if defined(OSSIA_PROTOCOL_ARTNET)
4 #include <Device/Protocol/DeviceInterface.hpp>
5 
6 namespace Protocols
7 {
9 {
10 
11  W_OBJECT(ArtnetDevice)
12 public:
14  const Device::DeviceSettings& settings,
15  const ossia::net::network_context_ptr& ctx);
16  ~ArtnetDevice();
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:185
Definition: ArtnetDevice.hpp:9
Definition: DeviceSettings.hpp:20