Loading...
Searching...
No Matches
ArtnetProtocolFactory.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3#if defined(OSSIA_PROTOCOL_ARTNET)
4#include <Explorer/DefaultProtocolFactory.hpp>
5
6namespace Protocols
7{
8
10{
11 SCORE_CONCRETE("1c199b75-8052-4d5b-9f85-1b2b0d7e26a9")
12
13 QString prettyName() const noexcept override;
14 QString category() const noexcept override;
15 QUrl manual() const noexcept override;
16
17 Device::DeviceInterface* makeDevice(
18 const Device::DeviceSettings& settings, const Explorer::DeviceDocumentPlugin& plug,
19 const score::DocumentContext& ctx) override;
20
21 const Device::DeviceSettings& defaultSettings() const noexcept override;
22
23 Device::ProtocolSettingsWidget* makeSettingsWidget() override;
24
25 QVariant makeProtocolSpecificSettings(const VisitorVariant& visitor) const override;
26
27 void serializeProtocolSpecificSettings(
28 const QVariant& data, const VisitorVariant& visitor) const override;
29
30 bool checkCompatibility(
32 const Device::DeviceSettings& b) const noexcept override;
33};
34}
35#endif
Definition DeviceInterface.hpp:66
Definition ProtocolSettingsWidget.hpp:22
Definition ArtnetProtocolFactory.hpp:10
Definition DefaultProtocolFactory.hpp:10
Definition DeviceSettings.hpp:20
The VisitorVariant struct.
Definition VisitorInterface.hpp:26
Definition DocumentContext.hpp:18