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

◆ fire()

void MayaFlux::Nodes::HookList::fire ( NodeContext &  ctx) const

Calls every entry whose condition, if any, holds.

Definition at line 68 of file NodeUtils.cpp.

69{
70 for (const auto& entry : snapshot()) {
71 if (entry.condition && !(*entry.condition)(ctx)) {
72 continue;
73 }
74 entry.hook(ctx);
75 }
76}
Snapshot snapshot() const
The current entries, held stable for the lifetime of the returned object.
Definition NodeUtils.cpp:43

References snapshot().

Referenced by MayaFlux::Nodes::Input::TabletNode::fire(), MayaFlux::Nodes::Input::MIDINode::fire_midi_callbacks(), MayaFlux::Nodes::Constant::notify_tick(), MayaFlux::Nodes::BinaryOpNode::notify_tick(), MayaFlux::Nodes::CompositeOpNode< N >::notify_tick(), MayaFlux::Nodes::StreamReaderNode::notify_tick(), MayaFlux::Nodes::Filters::Filter::notify_tick(), MayaFlux::Nodes::Generator::Counter::notify_tick(), MayaFlux::Nodes::Generator::Generator::notify_tick(), MayaFlux::Nodes::Generator::Impulse::notify_tick(), MayaFlux::Nodes::Generator::Logic::notify_tick(), MayaFlux::Nodes::Generator::Phasor::notify_tick(), MayaFlux::Nodes::GpuSync::GpuComputeNode::notify_tick(), MayaFlux::Nodes::Input::InputNode::notify_tick(), and MayaFlux::Nodes::Input::OSCNode::notify_tick().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: