coreaudio::promoted::property
More...
#include <dx_coreaudio_property.h>
|
| | catch (...) |
| |
| | catch (...) |
| |
| | catch (...) |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN | catch (const dx::exception &__dx_exception) |
| |
| | catch (const std::exception &__std_exception) |
| |
| | catch (const std::exception &__std_exception) |
| |
| | catch (const std::exception &__std_exception) |
| |
| void | commit (lock_t &&lock, const value_t &value) try |
| |
| | operator bool () const noexcept |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END | operator const value_t & () try |
| |
| promoted & | operator++ () noexcept |
| |
| value_t | operator++ (int) noexcept |
| |
| promoted & | operator+= (const value_t &value) noexcept |
| |
| promoted & | operator-- () noexcept |
| |
| value_t | operator-- (int) noexcept |
| |
| promoted & | operator-= (const value_t &value) noexcept |
| |
| const value_t & | operator-> () |
| |
| DX_PRAGMA_IGNORE_RETURN_VALUE_END bool | operator== (const value_t &value) noexcept |
| |
| bool | operator== (promoted &promoted) noexcept |
| |
| | property (const ::AudioObjectID &id, const ::AudioObjectPropertyAddress &address, const decltype(promoted::listen)&listen, const struct coreaudio::property::qualifier &qualifier={}) |
| |
| | property (const ::AudioObjectID &id, const ::AudioObjectPropertyAddress &address, const struct coreaudio::property::qualifier &qualifier={}) |
| |
| | property (const ::AudioObjectID &id, const ::AudioObjectPropertyAddress &address, decltype(promoted::listen)::mapped_type &&listen, const struct coreaudio::property::qualifier &qualifier={}) |
| |
| | property (const ::AudioObjectID &id, const ::AudioObjectPropertyAddress &address, decltype(promoted::server)&&server, const struct coreaudio::property::qualifier &qualifier={}) |
| |
| virtual | ~property () |
| |
template<typename
value_t, typename coreaudio_value_t, bool settable>
class dx::coreaudio::promoted::property< value_t, coreaudio_value_t, settable >
coreaudio::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 coreaudio_value_t , bool settable>
◆ property() [2/4]
template<typename
value_t , typename coreaudio_value_t , bool settable>
◆ property() [3/4]
template<typename
value_t , typename coreaudio_value_t , bool settable>
◆ property() [4/4]
template<typename
value_t , typename coreaudio_value_t , bool settable>
◆ ~property()
template<typename
value_t , typename coreaudio_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 bool()
template<typename
value_t , typename coreaudio_value_t , bool settable>
◆ 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: