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

◆ unhook()

bool MayaFlux::Nodes::ChainNode::unhook ( HookId  id)
inlineoverridevirtual

Removes the one registration with this id, whichever hook list holds it.

Parameters
idId returned by an on_* registration of this node
Returns
True if the registration existed and was removed

Reimplemented from MayaFlux::Nodes::Node.

Definition at line 113 of file NodeChain.hpp.

114 {
115 return !m_nodes.empty() && m_nodes.back()->unhook(id);
116 }
std::vector< std::shared_ptr< Node > > m_nodes