score
Home
Classes
Namespaces
Files
GfxDevice.hpp
1
#pragma once
2
#include <Device/Protocol/DeviceInterface.hpp>
3
#include <Device/Protocol/DeviceSettings.hpp>
4
#include <Device/Protocol/ProtocolFactoryInterface.hpp>
5
#include <Device/Protocol/ProtocolSettingsWidget.hpp>
6
7
#include <QLineEdit>
8
9
#include <score_plugin_gfx_export.h>
10
namespace
Gfx
11
{
12
class
gfx_protocol_base;
13
class
SCORE_PLUGIN_GFX_EXPORT
GfxInputDevice
:
public
Device::DeviceInterface
14
{
15
public
:
16
GfxInputDevice
(
17
const
Device::DeviceSettings
& settings,
const
score::DocumentContext
& ctx);
18
virtual
~
GfxInputDevice
();
19
20
protected
:
21
const
score::DocumentContext
& m_ctx;
22
23
void
addAddress(
const
Device::FullAddressSettings
& settings)
override
;
24
void
recreate(
const
Device::Node
& n)
override
;
25
26
using
Device::DeviceInterface::refresh;
27
QMimeData* mimeData()
const override
;
28
Device::Node
refresh()
override
;
29
void
disconnect()
override
;
30
31
void
setupNode(ossia::net::node_base&,
const
ossia::extended_attributes& attr);
32
};
33
34
class
SCORE_PLUGIN_GFX_EXPORT
GfxOutputDevice
:
public
Device::DeviceInterface
35
{
36
public
:
37
GfxOutputDevice
(
38
const
Device::DeviceSettings
& settings,
const
score::DocumentContext
& ctx);
39
virtual
~
GfxOutputDevice
();
40
41
protected
:
42
const
score::DocumentContext
& m_ctx;
43
44
void
addAddress(
const
Device::FullAddressSettings
& settings)
override
;
45
void
recreate(
const
Device::Node
& n)
override
;
46
47
using
Device::DeviceInterface::refresh;
48
QMimeData* mimeData()
const override
;
49
Device::Node
refresh()
override
;
50
void
disconnect()
override
;
51
52
void
setupNode(ossia::net::node_base&,
const
ossia::extended_attributes& attr);
53
};
54
55
}
Device::DeviceInterface
Definition:
DeviceInterface.hpp:66
Gfx::GfxInputDevice
Definition:
GfxDevice.hpp:14
Gfx::GfxOutputDevice
Definition:
GfxDevice.hpp:35
TreeNode< DeviceExplorerNode >
Gfx
Binds the rendering pipeline to ossia processes.
Definition:
CameraDevice.cpp:28
Device::DeviceSettings
Definition:
DeviceSettings.hpp:20
Device::FullAddressSettings
Definition:
AddressSettings.hpp:62
score::DocumentContext
Definition:
DocumentContext.hpp:18