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

◆ get()

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

The controls with the values the operator holds now.

An operator may offer read_controls(Controls&) to fill members whose value lives elsewhere.

Definition at line 112 of file NetworkOperator.hpp.

113 {
114 const NetworkOperator& base = self;
115 auto current = base.m_controls_store.snapshot<typename Self::Controls>();
116 if constexpr (requires { self.read_controls(current); }) {
117 self.read_controls(current);
118 }
119 return current;
120 }

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

Referenced by MayaFlux::Nodes::Network::OperatorChain::process(), and MayaFlux::Nodes::Network::ModalDampingOperator::query_state().

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