|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
overrideprotectedvirtual |
Fires the hooks for one delivered input.
Called only from process_input(), so every hook runs on the thread that delivers input and never on the graph thread. process_sample() only advances smoothing and does not notify. The context, previous-value and range state are therefore owned by the input thread, and Node::m_last_output by the graph thread.
Implements MayaFlux::Nodes::Node.
Reimplemented in MayaFlux::Nodes::Input::MIDINode, MayaFlux::Nodes::Input::OSCNode, and MayaFlux::Nodes::Input::TabletNode.
Definition at line 211 of file InputNode.cpp.
References MayaFlux::Nodes::Input::BUTTON_PRESS, MayaFlux::Nodes::Input::BUTTON_RELEASE, MayaFlux::Nodes::Input::CONDITIONAL, MayaFlux::Nodes::HookList::fire(), get_last_context(), MayaFlux::Nodes::Node::m_callbacks, MayaFlux::Nodes::Node::m_conditional_callbacks, m_input_callbacks, m_previous_value, m_was_in_range, max, min, MayaFlux::Nodes::Input::RANGE_ENTER, MayaFlux::Nodes::Input::RANGE_EXIT, MayaFlux::Nodes::HookList::snapshot(), MayaFlux::Nodes::Input::THRESHOLD_FALLING, MayaFlux::Nodes::Input::THRESHOLD_RISING, MayaFlux::Nodes::Input::TICK, update_context(), value, and MayaFlux::Nodes::Input::VALUE_CHANGE.
Referenced by MayaFlux::Nodes::Input::MIDINode::notify_tick(), MayaFlux::Nodes::Input::OSCNode::notify_tick(), MayaFlux::Nodes::Input::TabletNode::notify_tick(), and process_input().
Here is the call graph for this function:
Here is the caller graph for this function: