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

◆ read_controls()

void MayaFlux::Nodes::Network::JunctionOperator::read_controls ( JunctionControls & controls) const

Fills every control with the value the junction holds now.

Definition at line 461 of file TerminationOperators.cpp.

462{
463 controls.driving_pressure.observe(m_driving_pressure.load(std::memory_order_relaxed));
464 controls.maximum_flow.observe(m_maximum_flow.load(std::memory_order_relaxed));
465}

References MayaFlux::Nodes::Network::JunctionControls::driving_pressure, m_driving_pressure, m_maximum_flow, MayaFlux::Nodes::Network::JunctionControls::maximum_flow, and MayaFlux::Nodes::Network::Control::observe().

Here is the call graph for this function: