dxd - dynax driver framework 2.5.0d148
cross platform open source driver development framework
|
dx::proxy::stream::device::promoted with device::preference More...
#include <dx_proxy_stream_device.h>
Public Types | |
typedef std::unique_lock< mutex_t > | lock_t |
typedef std::mutex | mutex_t |
Public Member Functions | |
catch (...) | |
catch (...) | |
catch (...) | |
catch (const dx::exception &__dx_exception) | |
catch (const dx::exception &__dx_exception) | |
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 const value_t & () try | |
bool | operator== (const value_t &value) noexcept |
promoted (class _device &device, class dx::promoted< uint32_t >::preference< preference_t > &preference, const uint32_t ioctl) | |
promoted (class _device &device, const uint32_t ioctl) | |
Public Attributes | |
bool | initialized {} |
std::deque< std::function< void(const value_t &)> | listen ) |
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 | |
Static Public Attributes | |
static auto constexpr | setable = _settable |
Protected Attributes | |
value_t | value |
dx::proxy::stream::device::promoted with device::preference
A promoted proxy::stream::device::preference value
|
inherited |
|
inherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inherited |
|
inherited |
|
inherited |
\ 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
|
staticconstexpr |
|
inherited |
\ indicate the value has been initialized
|
protectedinherited |
(c) copyright 2009 dynamic acoustics e.U. | generated on Fri Aug 22 2025 |