score
Home
Classes
Namespaces
Files
WSProtocolFactory.hpp
1
#pragma once
2
#include <Explorer/DefaultProtocolFactory.hpp>
3
4
namespace
Protocols
5
{
6
class
WSProtocolFactory
final :
public
DefaultProtocolFactory
7
{
8
SCORE_CONCRETE(
"59e81303-af24-4559-b33d-1c6f59f0f017"
)
9
// Implement with OSSIA::Device
10
QString prettyName()
const
noexcept
override
;
11
QString category()
const
noexcept
override
;
12
QUrl manual()
const
noexcept
override
;
13
14
Device::DeviceEnumerators
15
getEnumerators(
const
score::DocumentContext
& ctx)
const override
;
16
17
Device::DeviceInterface
* makeDevice(
18
const
Device::DeviceSettings
& settings,
19
const
Explorer::DeviceDocumentPlugin& plugin,
20
const
score::DocumentContext
& ctx)
override
;
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
}
Device::DeviceInterface
Definition:
DeviceInterface.hpp:66
Device::ProtocolSettingsWidget
Definition:
ProtocolSettingsWidget.hpp:22
Protocols::DefaultProtocolFactory
Definition:
DefaultProtocolFactory.hpp:10
Protocols::WSProtocolFactory
Definition:
WSProtocolFactory.hpp:7
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20
VisitorVariant
The VisitorVariant struct.
Definition:
VisitorInterface.hpp:26
score::DocumentContext
Definition:
DocumentContext.hpp:18