dxd - dynax driver framework 2.6.0d192
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coreaudio::_device< desc_t, preference_t, stream_t >::clocksource Class Reference

#include <dx_coreaudio_device.h>

+ Inheritance diagram for dx::coreaudio::_device< desc_t, preference_t, stream_t >::clocksource:
+ Collaboration diagram for dx::coreaudio::_device< desc_t, preference_t, stream_t >::clocksource:

Public Types

typedef std::unique_lock< mutex_tlock_t
 
typedef std::mutex mutex_t
 

Public Member Functions

 _Pragma ("clang diagnostic pop") bool operator
 
 _Pragma ("clang diagnostic pop") operator const value_t &() try
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
 _Pragma ("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wreturn-type\"") catch(const dx
 
 catch (...)
 
 catch (...)
 
 catch (const std::exception &__std_exception)
 
 catch (const std::exception &__std_exception)
 

Public Attributes

bool initialized {}
 
std::map< void *, std::function< void(const uint32_t &)> listen )
 
std::function< void(lock_t &&, const value_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
 

Protected Attributes

value_t value
 

Member Typedef Documentation

◆ lock_t

template<typename value_t >
typedef std::unique_lock<mutex_t> dx::promoted< value_t >::lock_t
inherited

◆ mutex_t

template<typename value_t >
typedef std::mutex dx::promoted< value_t >::mutex_t
inherited

Member Function Documentation

◆ _Pragma() [1/4]

template<typename value_t >
dx::promoted< value_t >::_Pragma ( "clang diagnostic pop" )
inherited

◆ _Pragma() [2/4]

template<typename value_t >
dx::promoted< value_t >::_Pragma ( "clang diagnostic pop" ) const &
inlineinherited

◆ _Pragma() [3/4]

template<typename value_t >
dx::promoted< value_t >::_Pragma ( "clang diagnostic push" ) const
inlineinherited

◆ _Pragma() [4/4]

template<typename value_t >
dx::promoted< value_t >::_Pragma ( "clang diagnostic push" ) const
inlineinherited

◆ catch() [1/4]

template<typename value_t >
dx::promoted< value_t >::catch ( ...)
inlineinherited

◆ catch() [2/4]

template<typename value_t >
dx::promoted< value_t >::catch ( ...)
inlineinherited

◆ catch() [3/4]

template<typename value_t >
dx::promoted< value_t >::catch ( const std::exception & __std_exception)
inlineinherited

◆ catch() [4/4]

template<typename value_t >
dx::promoted< value_t >::catch ( const std::exception & __std_exception)
inlineinherited

Member Data Documentation

◆ initialized

template<typename value_t >
bool dx::promoted< value_t >::initialized {}
inherited

◆ listen

std::map<void*, std::function<void(const uint32_t &)> dx::promoted< uint32_t >::listen)
inherited

◆ server

template<typename value_t >
std::function<void(lock_t&&, const value_t&, const value_t&) dx::promoted< value_t >::server) {}
inherited

\ 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

template<typename value_t >
bool dx::promoted< value_t >::transient {}
inherited

\ indicate the value has been initialized

◆ value

template<typename value_t >
value_t dx::promoted< value_t >::value
protectedinherited

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Wed Jan 7 2026

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.