Loading...
Searching...
No Matches
BaseProperty.hpp
1#pragma once
2#include <QMetaObject>
3#include <QObject>
4
5#include <score_lib_localtree_export.h>
6
7namespace ossia::net
8{
9class parameter_base;
10}
11
12namespace LocalTree
13{
14struct SCORE_LIB_LOCALTREE_EXPORT BaseProperty
15{
16 ossia::net::parameter_base& addr;
17 QMetaObject::Connection qtCallback;
18 explicit BaseProperty(ossia::net::parameter_base& a)
19 : addr{a}
20 {
21 }
22 virtual ~BaseProperty();
23
24 void clear() { QObject::disconnect(qtCallback); }
25};
26}
Local tree provides a way to extend the tree given through the Engine::Network::LocalDevice.
Definition BaseCallbackWrapper.hpp:9
Definition BaseProperty.hpp:15