|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
virtual |
Removes a previously registered callback.
| callback | The callback to remove |
Unregisters a callback that was previously registered with on_tick(). After removal, the callback will no longer be triggered when the node produces new output values.
This method is useful for cleaning up callbacks when they are no longer needed, preventing memory leaks and unnecessary processing.
Reimplemented in MayaFlux::Nodes::Generator::Impulse, MayaFlux::Nodes::Generator::Logic, MayaFlux::Nodes::Generator::Phasor, and MayaFlux::Nodes::ChainNode.
Definition at line 15 of file Node.cpp.
References m_callbacks, and MayaFlux::Nodes::safe_remove_callback().
Here is the call graph for this function: