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

◆ remove_hooks_of_type()

void MayaFlux::Nodes::Generator::Logic::remove_hooks_of_type ( LogicEventType  type)

Definition at line 614 of file Logic.cpp.

615{
616 auto it = std::remove_if(m_all_callbacks.begin(), m_all_callbacks.end(),
617 [type](const LogicCallback& cb) {
618 return cb.event_type == type;
619 });
620 m_all_callbacks.erase(it, m_all_callbacks.end());
621}
std::vector< LogicCallback > m_all_callbacks
Collection of all callback functions.
Definition Logic.hpp:601

References m_all_callbacks.