4 #include <ossia/network/common/complex_type.hpp>
5 #include <ossia/network/common/extended_types.hpp>
6 #include <ossia/network/dataspace/dataspace.hpp>
7 #include <ossia/network/domain/domain.hpp>
8 #include <ossia/network/value/value.hpp>
35 ossia::complex_type type;
36 std::optional<ossia::domain>
domain;
37 std::optional<ossia::access_mode> access;
38 std::optional<ossia::bounding_mode> bounding;
39 std::optional<ossia::repetition_filter> rep_filter;
41 std::optional<bool>
muted{};
45 extended_attributes extended;
47 operator const ossia::extended_attributes&()
const {
return extended; }
48 operator ossia::extended_attributes&() {
return extended; }
70 : address{std::move(n)}
75 : address{std::move(n)}
97 extended_attributes extended;
99 operator const ossia::extended_attributes&()
const {
return extended; }
100 operator ossia::extended_attributes&() {
return extended; }
104 previous_val = std::move(val);
109 previous_val = std::move(val);
116 || (get_repetition_filter() == ossia::repetition_filter::ON
117 && v == previous_val);
127 bool get_disabled()
const {
return muted; }
128 bool get_muted()
const {
return muted; }
129 bool get_critical()
const {
return critical; }
The value class.
Definition: value.hpp:173
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
bounding_mode
Address behaviors at crossing domain boundaries.
Definition: parameter_properties.hpp:56
access_mode
Address behaviors at crossing domain boundaries time.
Definition: parameter_properties.hpp:46
bool disabled
A disabled node.
Definition: node_attributes.hpp:95
bool critical
Means that the node is very important, e.g. a "play" message.
Definition: node_attributes.hpp:92
bool muted
Means that the node should not send / receives network messages.
Definition: node_attributes.hpp:104
domain A domain of values
Definition: domain_base.hpp:23
Full information about a parameter.
Definition: parameter_data.hpp:61
The data that can be found inside a parameter.
Definition: parameter_data.hpp:21
Definition: dataspace.hpp:24