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

◆ lanes_for()

template<typename T>
std::array< double, k_lanes > MayaFlux::ControlValue::lanes_for ( ) const
inlinenodiscardprivatenoexcept

Definition at line 206 of file ControlValue.hpp.

207 {
208 if constexpr (width_of<T>() == 1) {
209 return { m_lane[0].load(std::memory_order_relaxed), 0.0, 0.0, 0.0 };
210 } else {
211 return read_state().lanes;
212 }
213 }
static constexpr uint8_t width_of() noexcept
State read_state() const noexcept
std::array< std::atomic< double >, k_lanes > m_lane
std::array< double, k_lanes > lanes

References MayaFlux::ControlValue::State::lanes, m_lane, read_state(), and width_of().

Referenced by pending(), and value().

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