|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Nodes::callback_exists | ( | const std::vector< NodeHook > & | callbacks, |
| const NodeHook & | callback | ||
| ) |
Checks if a callback function already exists in a collection.
| callbacks | The collection of callback functions to search |
| callback | The callback function to look for |
This function compares function pointers to determine if a specific callback is already registered in a collection. It's used to prevent duplicate registrations of the same callback function.
Definition at line 9 of file NodeUtils.cpp.
Referenced by safe_add_callback().
Here is the caller graph for this function: