|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Logic::set_sequential_function | ( | SequentialFunction | function, |
| size_t | history_size | ||
| ) |
Sets a custom state-based evaluation function.
| function | Function implementing sequential boolean logic |
| history_size | Size of the state history buffer |
Configures the node to maintain a history of previous states and evaluate new inputs in this context using a user-defined function. Enables implementation of sequential logic, pattern detectors, and finite state machines.
Definition at line 449 of file Logic.cpp.
References MayaFlux::Nodes::Generator::CUSTOM, m_history, m_history_size, m_mode, m_operator, m_sequential_function, and MayaFlux::Nodes::Generator::SEQUENTIAL.