|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Nodes::safe_remove_callback | ( | std::vector< NodeHook > & | callbacks, |
| const NodeHook & | callback | ||
| ) |
Safely removes a callback from a collection.
| callbacks | The collection of callbacks to remove from |
| callback | The callback function to remove |
This function searches for the specified callback in the collection and removes it if found. It's used to unregister callbacks when they're no longer needed.
Definition at line 51 of file NodeUtils.cpp.
Referenced by MayaFlux::Nodes::Node::remove_hook(), MayaFlux::Nodes::Generator::Impulse::remove_hook(), and MayaFlux::Nodes::Generator::Phasor::remove_hook().
Here is the caller graph for this function: