OSSIA
Open Scenario System for Interactive Application
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qml_signal.hpp
1#pragma once
2#include <ossia/network/base/parameter.hpp>
3
4#include <ossia-qt/device/qml_node_base.hpp>
5#include <ossia-qt/qml_context.hpp>
6
7#include <QObject>
8#include <QQmlProperty>
9
10#include <verdigris>
11namespace ossia
12{
13namespace qt
14{
15class qml_node;
16class qml_device;
17
18class qml_signal : public qml_property_base
19{
20 W_OBJECT(qml_signal)
21
22public:
23 qml_signal(QQuickItem* parent = nullptr);
24 ~qml_signal();
25
26 void resetNode() override;
27 void setDevice(QObject* device) override;
28
29public:
30 void triggered() E_SIGNAL(OSSIA_EXPORT, triggered);
31 void trigger() E_SIGNAL(OSSIA_EXPORT, trigger);
32
33private:
34 void setupAddress(bool reading);
35};
36}
37}
Definition git_info.h:7