57{
58}
DirectFunction m_direct_function
Function for direct mode.
size_t m_history_size
Maximum size of the history buffer.
EdgeType m_edge_type
Type of edge to detect.
double m_threshold
Threshold for boolean conversion.
double m_high_threshold
High threshold for hysteresis.
std::vector< double > m_input_buffer
LogicOperator m_operator
Current logic operator.
double m_low_threshold
Low threshold for hysteresis.
bool m_edge_detected
Whether an edge was detected in the last processing.
LogicMode m_mode
Current processing mode.
size_t m_input_count
Expected number of inputs for multi-input mode.
LogicContextGpu m_context_gpu
std::span< const float > get_gpu_data_buffer() const
Provides access to the GPU data buffer.
@ BOTH
Any state transition.
@ DIRECT
Stateless evaluation of current input only (combinational logic)
@ CUSTOM
User-defined boolean function.