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

◆ read_named()

template<ControlSlot Slot>
template<typename C>
requires NumericControlSlot<Slot>
std::optional< double > MayaFlux::ControlValueStore< Slot >::read_named ( const C & controls,
std::string_view name )
inlinestaticnodiscard

The number held by the member called name, or nullopt for none or a vector.

Parameters
controlsA copy from get(), so values the owner holds outside the struct are real.

Definition at line 183 of file ControlValueStore.hpp.

184 {
187 [&](const auto&... member) {
189 },
191 return found;
192 }
static void read_member(const Member &member, const C &owner, std::string_view name, std::optional< double > &found)
Owns one described struct of Slot members for a host such as a network, an operator or an input node.

Referenced by MayaFlux::ControlValueStore< Control >::read_member().

Here is the caller graph for this function: