coreaudio::promoted::property
More...
#include <dx_coreaudio_property.h>
|
typedef std::vector<::AudioObjectPropertyAddress > | addresses |
|
typedef std::map<::AudioObjectPropertySelector, ::CFStringRef > | dictionary |
|
typedef std::unique_lock< mutex_t > | lock_t |
|
typedef std::mutex | mutex_t |
|
|
bool | initialized {} |
|
std::function< void(lock_t &, const value_t &) | server ) {} |
| \ indicate the value is in transition - does not have the new value yet
|
|
bool | transient {} |
| \ indicate the value has been initialized
|
|
|
const ::AudioObjectID | id |
|
struct dx::coreaudio::property::qualifier | qualifier |
|
value_t | value |
|
template<typename value_t, typename coreaudio_value_t = value_t, bool settable = true>
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;
◆ addresses
◆ dictionary
◆ lock_t
template<typename value_t >
◆ mutex_t
template<typename value_t >
◆ catch() [1/9]
template<typename value_t >
◆ catch() [2/9]
template<typename value_t >
◆ catch() [3/9]
template<typename value_t >
◆ catch() [4/9]
template<typename value_t >
◆ catch() [5/9]
template<typename value_t >
◆ catch() [6/9]
template<typename value_t >
◆ catch() [7/9]
template<typename value_t >
dx::promoted< value_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineinherited |
◆ catch() [8/9]
template<typename value_t >
dx::promoted< value_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineinherited |
◆ catch() [9/9]
template<typename value_t >
dx::promoted< value_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inlineinherited |
◆ commit()
template<typename value_t >
◆ get()
template<typename data_t >
const property & dx::coreaudio::property::get |
( |
data_t & | data | ) |
const |
|
inlineinherited |
◆ operator bool()
◆ operator const value_t &()
template<typename value_t >
◆ operator data_t()
template<typename data_t >
◆ operator std::set< data_t >()
template<typename data_t >
dx::coreaudio::property::operator std::set< data_t > |
( |
| ) |
const |
|
inlineinherited |
◆ operator std::string()
return std::string from C-string property
◆ operator std::vector< data_t >()
template<typename data_t >
dx::coreaudio::property::operator std::vector< data_t > |
( |
| ) |
const |
|
inlineinherited |
◆ operator<<()
template<typename data_t >
◆ operator==()
template<typename value_t >
bool dx::promoted< value_t >::operator== |
( |
const value_t & | value | ) |
|
|
inlinenoexceptinherited |
◆ set()
◆ size()
◆ id
const ::AudioObjectID dx::coreaudio::property::id |
|
protectedinherited |
◆ initialized
template<typename value_t >
◆ qualifier
struct dx::coreaudio::property::qualifier dx::coreaudio::property::qualifier |
|
protectedinherited |
◆ server
template<typename value_t >
\ indicate the value is in transition - does not have the new value yet
server: handle synchronous and asynchronous value updates and initialization it needs to handle these case: not initialized and not in transation: initialze and commit the value not initialized and in transation: 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
template<typename value_t >
\ indicate the value has been initialized
◆ value
template<typename value_t >
The documentation for this class was generated from the following file: