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

◆ get()

template<typename Self>
Self::Controls MayaFlux::Nodes::Network::NodeNetwork::get ( this const Self & self)
inlinenodiscard

The controls with the values the network holds now.

A mapped member still reports its source. A network may offer read_controls(Controls&) to fill members whose value lives elsewhere.

Definition at line 311 of file NodeNetwork.hpp.

312 {
313 const NodeNetwork& base = self;
314 auto current = base.m_controls_store.snapshot<typename Self::Controls>(&base.m_output_scale);
315 if constexpr (requires { self.read_controls(current); }) {
316 self.read_controls(current);
317 }
318 return current;
319 }

References m_controls_store, m_output_scale, and MayaFlux::ControlValueStore< Slot >::snapshot().

Here is the call graph for this function: