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

◆ set_temporal_function()

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 460 of file Logic.cpp.

461{
462 m_temporal_function = std::move(function);
465 m_temporal_time = 0.0;
466}
TemporalFunction m_temporal_function
Function for temporal mode.
Definition Logic.hpp:571
double m_temporal_time
Time tracking for temporal mode.
Definition Logic.hpp:582
LogicOperator m_operator
Current logic operator.
Definition Logic.hpp:567
LogicMode m_mode
Current processing mode.
Definition Logic.hpp:566
@ TEMPORAL
Time-dependent evaluation with timing constraints.
@ CUSTOM
User-defined boolean function.

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