Loading...
Searching...
No Matches
CoAPProtocolFactory.hpp
1#pragma once
2#include <Explorer/DefaultProtocolFactory.hpp>
3
4namespace Protocols
5{
7{
8 SCORE_CONCRETE("21a1ad07-9234-4982-a428-8656e2b8a3b1")
9 QString prettyName() const noexcept override;
10 QString category() const noexcept override;
11 QUrl manual() const noexcept override;
12 Device::DeviceEnumerators
13 getEnumerators(const score::DocumentContext& ctx) const override;
14
15 Device::DeviceInterface* makeDevice(
16 const Device::DeviceSettings& settings,
17 const Explorer::DeviceDocumentPlugin& plugin,
18 const score::DocumentContext& ctx) override;
19 const Device::DeviceSettings& defaultSettings() const noexcept override;
20
21 Device::ProtocolSettingsWidget* makeSettingsWidget() override;
22
23 QVariant makeProtocolSpecificSettings(const VisitorVariant& visitor) const override;
24
25 void serializeProtocolSpecificSettings(
26 const QVariant& data, const VisitorVariant& visitor) const override;
27
28 bool checkCompatibility(
30 const Device::DeviceSettings& b) const noexcept override;
31};
32}
Definition DeviceInterface.hpp:66
Definition ProtocolSettingsWidget.hpp:22
Definition CoAPProtocolFactory.hpp:7
Definition DefaultProtocolFactory.hpp:10
Definition DeviceSettings.hpp:20
The VisitorVariant struct.
Definition VisitorInterface.hpp:26
Definition DocumentContext.hpp:18