MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ store()

void MayaFlux::ControlValue::store ( const std::array< double, k_lanes > & lanes,
uint8_t width,
bool set )
inlineprivatenoexcept

Definition at line 228 of file ControlValue.hpp.

229 {
230 Memory::SerializedSeqlockWriteGuard guard(m_lock);
231 for (size_t index = 0; index < k_lanes; ++index) {
232 m_lane[index].store(lanes[index], std::memory_order_relaxed);
233 }
234 m_width.store(width, std::memory_order_release);
235 m_set.store(set, std::memory_order_release);
236 }
std::atomic< uint8_t > m_width
std::array< std::atomic< double >, k_lanes > m_lane
static constexpr size_t k_lanes
size_t width() const noexcept
Components held: 0 when empty, 1 for a number, flag or enum, 2 to 4 for a vector, 6 for a box.
std::atomic< bool > m_set

References k_lanes, m_lane, m_lock, m_set, m_width, and width().

Referenced by assign(), ControlValue(), copy_state(), observe(), and set_blank().

Here is the call graph for this function:
Here is the caller graph for this function: