|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Nodes::callback_pair_exists | ( | const std::vector< std::pair< NodeHook, NodeCondition > > & | callbacks, |
| const NodeHook & | callback, | ||
| const NodeCondition & | condition | ||
| ) |
Checks if a specific callback and condition pair already exists.
| callbacks | The collection of conditional callbacks to search |
| callback | The callback function to look for |
| condition | The condition function to look for |
This function checks if a specific combination of callback and condition functions is already registered. It's used to prevent duplicate registrations of the same callback-condition pair.
Definition at line 25 of file NodeUtils.cpp.
Referenced by safe_add_conditional_callback().
Here is the caller graph for this function: