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

◆ set_temporal_function() [2/2]

void MayaFlux::Nodes::Generator::Logic::set_temporal_function ( TemporalFunction  function)

Sets a custom time-dependent evaluation function.

Parameters
functionFunction implementing temporal boolean logic

Configures the node to evaluate inputs based on both their value and timing using a user-defined function. Enables implementation of timing-sensitive operations like pulse width detection and rate analysis.

Definition at line 648 of file Logic.cpp.

649{
650 m_temporal_function = std::move(function);
653 m_temporal_time = 0.0;
654 m_coef_bound = false;
655}
TemporalFunction m_temporal_function
Function for temporal mode.
Definition Logic.hpp:699
double m_temporal_time
Time tracking for temporal mode.
Definition Logic.hpp:710
bool m_coef_bound
True while the active mode runs a coefficient function.
Definition Logic.hpp:723
LogicOperator m_operator
Current logic operator.
Definition Logic.hpp:695
LogicMode m_mode
Current processing mode.
Definition Logic.hpp:694
@ TEMPORAL
Time-dependent evaluation with timing constraints.
@ CUSTOM
User-defined boolean function.

References MayaFlux::Nodes::Generator::CUSTOM, m_coef_bound, m_mode, m_operator, m_temporal_function, m_temporal_time, and MayaFlux::Nodes::Generator::TEMPORAL.

Referenced by Logic(), and set_temporal_function().

+ Here is the caller graph for this function: