Loading...
Searching...
No Matches
SimpleIOProtocolFactory.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3#if defined(OSSIA_PROTOCOL_SIMPLEIO)
4#include <Explorer/DefaultProtocolFactory.hpp>
5
6namespace Protocols
7{
8
9class SimpleIOProtocolFactory final : public DefaultProtocolFactory
10{
11 SCORE_CONCRETE("f0c58b8c-c1ea-4dee-9496-245c90a3e5ad")
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(
31 const Device::DeviceSettings& a,
32 const Device::DeviceSettings& b) const noexcept override;
33};
34}
35#endif
Manipulation of Devices from Qt.
Definition AddressSettings.cpp:14
Base toolkit upon which the software is built.
Definition Application.cpp:90
The VisitorVariant struct.
Definition VisitorInterface.hpp:26