ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::mmio_record_ref< T, Numbering, FieldOrExts > Class Template Referenceexport
Inheritance diagram for lib::mmio_record_ref< T, Numbering, FieldOrExts >:
[legend]
Collaboration diagram for lib::mmio_record_ref< T, Numbering, FieldOrExts >:
[legend]

Public Types

using numbering = Numbering
using storage_type = T
using value_record = record<T, Numbering, FieldOrExts...>

Public Member Functions

template<fixed_string Path>
auto atomic_bit_clear (std::memory_order order=std::memory_order_seq_cst) const noexcept -> void
template<fixed_string Path>
auto atomic_bit_set (std::memory_order order=std::memory_order_seq_cst) const noexcept -> void
template<fixed_string Path>
auto atomic_bit_toggle (std::memory_order order=std::memory_order_seq_cst) const noexcept -> void
auto atomic_compare_exchange (value_record &expected, value_record desired, std::memory_order success=std::memory_order_seq_cst, std::memory_order failure=std::memory_order_seq_cst) const noexcept -> bool
auto atomic_load (std::memory_order order=std::memory_order_seq_cst) const noexcept -> value_record
template<fixed_string Path, class ValT>
auto atomic_set (ValT &&val, std::memory_order order=std::memory_order_seq_cst) const noexcept -> void
auto atomic_store (value_record val, std::memory_order order=std::memory_order_seq_cst) const noexcept -> void
template<fixed_string Path>
constexpr auto get () const noexcept
constexpr auto load () const noexcept -> value_record
constexpr mmio_record_ref (T &storage) noexcept
constexpr mmio_record_ref (volatile void *ptr) noexcept
constexpr operator value_record () const noexcept
template<fixed_string Path>
constexpr auto operator[] (field_tag< Path >) const noexcept
template<fixed_string Path, class ValueType>
constexpr auto set (ValueType &&v) const noexcept -> void
constexpr auto store (T val) const noexcept -> void
constexpr auto store (value_record val) const noexcept -> void

Static Public Attributes

static constexpr usize extent = storage_traits<T>::total_bits

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