score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
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
W_OBJECT(
GfxInputDevice
)
16
public
:
17
GfxInputDevice
(
18
const
Device::DeviceSettings
& settings,
const
score::DocumentContext
& ctx);
19
virtual
~GfxInputDevice
();
20
21
protected
:
22
const
score::DocumentContext
& m_ctx;
23
24
void
addAddress(
const
Device::FullAddressSettings
& settings)
override
;
25
void
recreate(
const
Device::Node
& n)
override
;
26
27
using
Device::DeviceInterface::refresh;
28
QMimeData* mimeData()
const override
;
29
Device::Node
refresh()
override
;
30
void
disconnect()
override
;
31
32
void
setupNode(ossia::net::node_base&,
const
ossia::extended_attributes& attr);
33
};
34
35
class
SCORE_PLUGIN_GFX_EXPORT
GfxOutputDevice
:
public
Device::DeviceInterface
36
{
37
W_OBJECT(
GfxOutputDevice
)
38
public
:
39
GfxOutputDevice
(
40
const
Device::DeviceSettings
& settings,
const
score::DocumentContext
& ctx);
41
virtual
~GfxOutputDevice
();
42
43
protected
:
44
const
score::DocumentContext
& m_ctx;
45
46
void
addAddress(
const
Device::FullAddressSettings
& settings)
override
;
47
void
recreate(
const
Device::Node
& n)
override
;
48
49
using
Device::DeviceInterface::refresh;
50
QMimeData* mimeData()
const override
;
51
Device::Node
refresh()
override
;
52
void
disconnect()
override
;
53
54
void
setupNode(ossia::net::node_base&,
const
ossia::extended_attributes& attr);
55
};
56
57
}
Device::DeviceInterface
Definition
DeviceInterface.hpp:66
Gfx::GfxInputDevice
Definition
GfxDevice.hpp:14
Gfx::GfxOutputDevice
Definition
GfxDevice.hpp:36
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