|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Nodes::callback_exists | ( | const std::vector< TypedHook< ContextT > > & | callbacks, |
| const TypedHook< ContextT > & | callback | ||
| ) |
Returns true if an equivalent callback is already present in the collection.
Equivalence is determined by target_type() – the same limitation as std::function comparison everywhere in the codebase.
Definition at line 63 of file NodeUtils.hpp.
Referenced by safe_add_callback().
Here is the caller graph for this function: