score
Home
Classes
Namespaces
Files
SpoutInput.hpp
1
#pragma once
2
3
#include <Device/Protocol/DeviceInterface.hpp>
4
#include <Device/Protocol/DeviceSettings.hpp>
5
6
#include <Gfx/GfxInputDevice.hpp>
7
#include <Gfx/SharedInputSettings.hpp>
8
9
#include <ossia/gfx/texture_parameter.hpp>
10
#include <ossia/network/base/device.hpp>
11
#include <ossia/network/base/protocol.hpp>
12
13
#include <QLineEdit>
14
class
QComboBox;
15
namespace
Gfx::Spout
16
{
17
using
InputSettings =
Gfx::SharedInputSettings
;
18
class
InputFactory
final :
public
SharedInputProtocolFactory
19
{
20
SCORE_CONCRETE(
"3c995cb6-052b-4c52-a8fd-841b33b81b29"
)
21
public
:
22
QString prettyName()
const
noexcept
override
;
23
QUrl manual()
const
noexcept
override
;
24
Device::DeviceEnumerators getEnumerators(
const
score::DocumentContext
& ctx)
const override
;
25
26
Device::DeviceInterface
* makeDevice(
27
const
Device::DeviceSettings
& settings,
28
const
Explorer::DeviceDocumentPlugin& plugin,
29
const
score::DocumentContext
& ctx)
override
;
30
const
Device::DeviceSettings
& defaultSettings()
const
noexcept
override
;
31
32
Device::ProtocolSettingsWidget
* makeSettingsWidget()
override
;
33
};
34
35
class
InputSettingsWidget
final :
public
SharedInputSettingsWidget
36
{
37
public
:
38
InputSettingsWidget
(QWidget* parent =
nullptr
);
39
40
Device::DeviceSettings
getSettings()
const override
;
41
};
42
}
Device::DeviceInterface
Definition:
DeviceInterface.hpp:66
Device::ProtocolSettingsWidget
Definition:
ProtocolSettingsWidget.hpp:22
Gfx::SharedInputProtocolFactory
Definition:
SharedInputSettings.hpp:26
Gfx::SharedInputSettingsWidget
Definition:
SharedInputSettings.hpp:51
Gfx::Spout::InputFactory
Definition:
SpoutInput.hpp:19
Gfx::Spout::InputSettingsWidget
Definition:
SpoutInput.hpp:36
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20
Gfx::SharedInputSettings
Definition:
SharedInputSettings.hpp:21
score::DocumentContext
Definition:
DocumentContext.hpp:18