Remove the specified rule from the unique rule set of this object.
Synopsis
Declared in <ball_categorymanager.h>
int
removeRule(Rule const& ruleToRemove);
Description
Remove the specified ruleToRemove from the set of (unique) rules maintained by this object. Return the number of rules removed (i.e., 1 on success and 0 if no rule having the same value is found). The behavior is undefined unless a lock is not held by this thread on the mutex returned by rulesetMutex.
Return Value
number of rules removed (1 on success, 0 if not found)
Parameters
Name |
Description |
ruleToRemove |
rule to remove |
Created with MrDocs