2#include <ossia/detail/config.hpp>
4#include <ossia/preset/preset.hpp>
6#include <ossia-qt/score/qml_util.hpp>
22class OSSIA_EXPORT qml_val_type
24 W_GADGET(qml_val_type)
39 W_ENUM(val_type, Float, Int, Vec2f, Vec3f, Vec4f,
Impulse, Bool, String, List, Map)
42class OSSIA_EXPORT qml_access_mode
44 W_GADGET(qml_access_mode)
52 W_ENUM(access_mode, Bi, Get, Set)
55class OSSIA_EXPORT qml_bounding_mode
57 W_GADGET(qml_bounding_mode)
68 W_ENUM(bounding_mode, Free, Clip, Wrap, Fold, Low, High)
71class OSSIA_EXPORT qml_rep_filter
73 W_GADGET(qml_rep_filter)
81 W_ENUM(repetition_filter, Unfiltered, Filtered)
84class OSSIA_EXPORT qml_duration
86 W_GADGET(qml_duration)
88 enum duration : qint32
90 Infinite = ossia::qt::infinite()
93 W_ENUM(duration, Infinite)
97Q_DECLARE_METATYPE(ossia::qt::qml_val_type::val_type)
98Q_DECLARE_METATYPE(ossia::qt::qml_access_mode::access_mode)
99Q_DECLARE_METATYPE(ossia::qt::qml_bounding_mode::bounding_mode)
100Q_DECLARE_METATYPE(ossia::qt::qml_rep_filter::repetition_filter)
101Q_DECLARE_METATYPE(ossia::qt::qml_duration::duration)
103W_REGISTER_ARGTYPE(ossia::qt::qml_val_type::val_type)
104W_REGISTER_ARGTYPE(ossia::qt::qml_access_mode::access_mode)
105W_REGISTER_ARGTYPE(ossia::qt::qml_bounding_mode::bounding_mode)
106W_REGISTER_ARGTYPE(ossia::qt::qml_rep_filter::repetition_filter)
107W_REGISTER_ARGTYPE(ossia::qt::qml_duration::duration)
access_mode
Defines Write (Set), Read (Get) or Read/Write (Bi) access to the parameter's value.
Definition ossia-cpp98.hpp:66
@ Set
Definition ossia-cpp98.hpp:68
@ Bi
Definition ossia-cpp98.hpp:69
@ Get
Definition ossia-cpp98.hpp:67
bounding_mode
Behaviour at the bounds of the value.
Definition ossia-cpp98.hpp:75
@ Low
Definition ossia-cpp98.hpp:80
@ Fold
Definition ossia-cpp98.hpp:79
@ High
Definition ossia-cpp98.hpp:81
@ Wrap
Definition ossia-cpp98.hpp:78
@ Clip
Definition ossia-cpp98.hpp:77
@ Free
Definition ossia-cpp98.hpp:76
val_type
Enum to represent the types that a value can take.
Definition parameter_properties.hpp:16
repetition_filter
If enabled, sending twice the same value will only send it once by network.
Definition parameter_properties.hpp:70
spdlog::logger & logger() noexcept
Where the errors will be logged. Default is stderr.
Definition context.cpp:118