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

◆ due()

bool MayaFlux::Nodes::Network::Control::due ( ) const
inlinenodiscardnoexcept

True when a consumer should apply this control now.

Definition at line 80 of file Control.hpp.

81 {
82 return has_value() && (sourced() || changed());
83 }
bool has_value() const noexcept
True once a value was given.
bool changed() const noexcept
bool sourced() const noexcept
True when a node or a network feeds this control.
Definition Control.hpp:68

References MayaFlux::ControlValue::changed(), MayaFlux::ControlValue::has_value(), and sourced().

Referenced by MayaFlux::Nodes::Network::ModalNetwork::apply_controls(), MayaFlux::Nodes::Network::PhysicsOperator::apply_controls(), MayaFlux::Nodes::Network::ResonatorNetwork::apply_controls(), and MayaFlux::Nodes::Network::GraphicsOperator::apply_point_control().

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