|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Nodes::conditional_callback_exists | ( | const std::vector< std::pair< NodeHook, NodeCondition > > & | callbacks, |
| const NodeCondition & | callback | ||
| ) |
Checks if a condition function already exists in a collection of conditional callbacks.
| callbacks | The collection of conditional callbacks to search |
| callback | The condition function to look for |
This function compares function pointers to determine if a specific condition is already used in a collection of conditional callbacks. It's used to prevent duplicate registrations of the same condition function.
Definition at line 17 of file NodeUtils.cpp.