2 #include <State/Domain.hpp>
3 #include <State/Message.hpp>
4 #include <State/Unit.hpp>
6 #include <Device/Address/ClipMode.hpp>
7 #include <Device/Address/IOType.hpp>
9 #include <score/tools/Metadata.hpp>
11 #include <ossia/detail/any_map.hpp>
13 #include <ossia/network/common/parameter_properties.hpp>
17 #include <score_lib_device_export.h>
22 using RepetitionFilter = bool;
37 std::optional<ossia::access_mode> ioType;
38 ossia::bounding_mode clipMode{};
39 ossia::repetition_filter repetitionFilter{};
41 ossia::extended_attributes extendedAttributes;
43 operator const ossia::extended_attributes&()
const {
return extendedAttributes; }
44 operator ossia::extended_attributes&() {
return extendedAttributes; }
83 return make<T>(other, addr.address);
91 SCORE_LIB_DEVICE_EXPORT
bool operator==(
95 inline bool operator!=(
101 inline bool operator==(
106 && lhs.name == rhs.name;
109 inline bool operator!=(
112 return !(lhs == rhs);
114 inline bool operator==(
120 && lhs.address == rhs.address;
123 inline bool operator!=(
127 return !(lhs == rhs);
149 const ossia::value& max) noexcept;
154 std::optional<ossia::access_mode> ioType;
155 ossia::bounding_mode clipMode{};
156 ossia::repetition_filter repetitionFilter{};
158 ossia::any_map extendedAttributes;
169 SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_DEVICE_EXPORT,
Device::AddressSettings);
170 SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_DEVICE_EXPORT,
Device::FullAddressSettings);
171 SCORE_SERIALIZE_DATASTREAM_DECLARE(
172 SCORE_LIB_DEVICE_EXPORT,
Device::FullAddressAccessorSettings);
174 Q_DECLARE_METATYPE(
Device::AddressSettings)
175 Q_DECLARE_METATYPE(
Device::FullAddressSettings)
176 Q_DECLARE_METATYPE(
Device::FullAddressAccessorSettings)
178 W_REGISTER_ARGTYPE(
Device::AddressSettings)
179 W_REGISTER_ARGTYPE(
Device::FullAddressSettings)
180 W_REGISTER_ARGTYPE(
Device::FullAddressAccessorSettings)
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Definition: AddressSettings.hpp:24
Definition: AddressSettings.hpp:49
Definition: AddressSettings.hpp:131
Definition: AddressSettings.hpp:62
Definition: Address.hpp:108
The Address struct.
Definition: Address.hpp:58
Definition: Domain.hpp:17
The Message struct.
Definition: Message.hpp:15