|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| HookId MayaFlux::Nodes::HookList::add_unique | ( | NodeHook | hook, |
| const std::type_info & | key, | ||
| uint8_t | tag = 0, |
||
| std::array< double, 2 > | params = {} |
||
| ) |
Appends unless an entry with the same key and params exists, in which case that entry's id is returned.
Definition at line 159 of file NodeUtils.cpp.
References MayaFlux::Nodes::HookEntry::key, mutate(), next_id(), and MayaFlux::Nodes::HookEntry::params.
Referenced by MayaFlux::Nodes::GpuSync::GpuComputeNode::on_complete(), MayaFlux::Nodes::Generator::Impulse::on_impulse(), MayaFlux::Nodes::Generator::Phasor::on_phase_wrap(), MayaFlux::Nodes::Generator::Phasor::on_threshold(), and MayaFlux::Nodes::Node::on_tick().
Here is the call graph for this function:
Here is the caller graph for this function: