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

◆ remove_all_hooks()

void MayaFlux::Nodes::ChainNode::remove_all_hooks ( )
inlineoverridevirtual

Removes all registered callbacks.

Unregisters all callbacks that were previously registered with on_tick() and on_tick_if(). After calling this method, no callbacks will be triggered when the node produces new output values.

This method is useful for completely resetting the node's callback system, such as when repurposing a node or preparing for cleanup.

Reimplemented from MayaFlux::Nodes::Node.

Definition at line 115 of file NodeChain.hpp.

116 {
117 if (!m_nodes.empty())
118 m_nodes.back()->remove_all_hooks();
119 }
std::vector< std::shared_ptr< Node > > m_nodes