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

◆ value()

template<typename T>
std::shared_ptr< const T > MayaFlux::ControlSnapshot< T >::value ( ) const
inlinenodiscardnoexcept

The current value, or null when none was given.

Definition at line 53 of file ControlSnapshot.hpp.

54 {
55 const auto view = m_cell.read();
56 return view ? *view : nullptr;
57 }
Memory::SnapshotCell< std::shared_ptr< const T > > m_cell
One pending value of any copyable type, such as a string or a list, set from any thread.

References m_cell.

Referenced by pending(), and set().

Here is the caller graph for this function: