OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
qt_device.hpp
1#pragma once
2#include <ossia/network/base/protocol.hpp>
3#include <ossia/network/generic/generic_device.hpp>
4#include <ossia/network/generic/generic_node.hpp>
5#include <ossia/network/generic/generic_parameter.hpp>
6
7#include <ossia-qt/device/qt_object_node.hpp>
8#include <ossia-qt/js_utilities.hpp>
9
10#include <QMetaObject>
11#include <QMetaProperty>
12#include <QObject>
13#include <QtQml/QQmlProperty>
14namespace ossia
15{
16namespace qt
17{
18class OSSIA_EXPORT qt_device final : public ossia::net::device_base
19{
20public:
21 qt_device(
22 QObject& obj, std::unique_ptr<ossia::net::protocol_base> protocol_base,
23 std::string name);
24
25 const ossia::net::node_base& get_root_node() const override;
26 ossia::net::node_base& get_root_node() override;
27
28private:
29 qt_object_node m_root;
30};
31}
32}
Root of a device tree.
Definition ossia/network/base/device.hpp:58
The node_base class.
Definition node.hpp:48
Definition git_info.h:7