|
MayaFlux 0.2.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 445 of file Logic.cpp.
References MayaFlux::Nodes::Generator::CUSTOM, m_history_count, m_history_head, m_history_linear, m_history_ring, m_history_size, m_mode, m_operator, m_sequential_function, and MayaFlux::Nodes::Generator::SEQUENTIAL.