Struct thl::AtomicCacheEntry#
-
struct AtomicCacheEntry#
Collaboration diagram for thl::AtomicCacheEntry:
Atomic cache entry for real-time safe per-sample parameter access.
Each parameter gets one AtomicCacheEntry, embedded in the owning ParameterRecord. This is the single source of truth for numeric values. ParameterHandle<T> accesses this entry via ParameterRecord*. The entry’s address is stable (std::map pointer stability) until State::clear() or State destruction.
Only the native-type atomic (matching ParameterRecord::m_def.m_type) is written on set. Reads convert on the fly from the native atomic.
Note
Non-copyable, non-movable — always accessed via pointer.
Public Functions
-
AtomicCacheEntry() = default#
-
AtomicCacheEntry(const AtomicCacheEntry&) = delete#
-
AtomicCacheEntry &operator=(const AtomicCacheEntry&) = delete#
-
AtomicCacheEntry() = default#