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>
10namespace Gfx
11{
12class gfx_protocol_base;
13class SCORE_PLUGIN_GFX_EXPORT GfxInputDevice : public Device::DeviceInterface
14{
15public:
17 const Device::DeviceSettings& settings, const score::DocumentContext& ctx);
18 virtual ~GfxInputDevice();
19
20protected:
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
34class SCORE_PLUGIN_GFX_EXPORT GfxOutputDevice : public Device::DeviceInterface
35{
36public:
38 const Device::DeviceSettings& settings, const score::DocumentContext& ctx);
39 virtual ~GfxOutputDevice();
40
41protected:
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}
Definition DeviceInterface.hpp:66
Definition GfxDevice.hpp:14
Definition GfxDevice.hpp:35
Binds the rendering pipeline to ossia processes.
Definition CameraDevice.cpp:28
Definition DeviceSettings.hpp:20
Definition AddressSettings.hpp:62
Definition DocumentContext.hpp:18