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

◆ add_input_callback()

void MayaFlux::Nodes::Input::InputNode::add_input_callback ( const NodeHook callback,
InputEventType  event_type,
std::optional< double >  threshold = {},
std::optional< std::pair< double, double > >  range = {},
std::optional< NodeCondition condition = {} 
)
private

Definition at line 181 of file InputNode.cpp.

187{
188 m_input_callbacks.push_back({ .callback = callback,
189 .event_type = event_type,
190 .condition = std::move(condition),
191 .threshold = threshold,
192 .range = range });
193}
std::vector< InputCallback > m_input_callbacks

References m_input_callbacks.

Referenced by on_button_press(), on_button_release(), on_range_enter(), on_range_exit(), on_threshold_falling(), on_threshold_rising(), and on_value_change().

+ Here is the caller graph for this function: