coremidi::promoted::property
More...
#include <dx_coremidi_property.h>
template<typename
value_t, typename coremidi_value_t, bool settable>
class dx::coremidi::promoted::property< value_t, coremidi_value_t, settable >
coremidi::promoted::property
see promoted<value_t> in dx_value.h
usage:
promoted\_value=
new value assignment;
current
value= promoted\_value;
◆ lock_t
◆ mutex_t
◆ value_t
◆ property() [1/4]
template<typename
value_t , typename coremidi_value_t , bool settable>
◆ property() [2/4]
template<typename
value_t , typename coremidi_value_t , bool settable>
◆ property() [3/4]
template<typename
value_t , typename coremidi_value_t , bool settable>
◆ property() [4/4]
template<typename
value_t , typename coremidi_value_t , bool settable>
◆ ~property()
template<typename
value_t , typename coremidi_value_t , bool settable>
◆ catch() [1/9]
◆ catch() [2/9]
◆ catch() [3/9]
◆ catch() [4/9]
◆ catch() [5/9]
◆ catch() [6/9]
◆ catch() [7/9]
◆ catch() [8/9]
◆ catch() [9/9]
◆ commit()
◆ operator const value_t &()
◆ operator++() [1/2]
◆ operator++() [2/2]
◆ operator+=()
◆ operator--() [1/2]
◆ operator--() [2/2]
◆ operator-=()
◆ operator->()
◆ operator==() [1/2]
◆ operator==() [2/2]
◆ initialized
◆ listen
◆ server
\ indicate the value is in transition - does not have the new value yet
server: handle synchronous and asynchronous value updates and initialization lock: lock promoted value from access during update value: new value (if in transition) current: current value to allow discarding update and reverting to current value if update is not permitted
it needs to handle these case: not initialized and not in transition: initialze and commit the value not initialized and in transition: if dependent on external settings initialize a temporary and compare it with the new value and update the external setting if required make sure to commit the new value so listeners get notified either synchronously or asynchronously by external notification initialized and in transition: update external settings if any and make sure to commit the new value so listeners get notified either synchronously or asynchronousl by external notification
server will not be called with this state: initialized and not in transation
◆ transient
\ indicate the value has been initialized
◆ value
The documentation for this class was generated from the following file: