This class manages a registry of categories.
Synopsis
Declared in <ball_categorymanager.h>
class CategoryManager;
Description
This class manages a set (or "registry") of categories. Categories may be added to the registry, but they cannot be removed. However, the threshold levels of existing categories may be accessed and modified directly.
Type Aliases
Name |
Description |
|
|
Functor type that computes default threshold levels for new categories. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this category manager. |
Add a category with the specified name and threshold levels. |
|
Add a category inheriting thresholds from the longest matching prefix. |
|
Add the default category if it has not already been added. |
|
Add the specified rule to the unique rule set of this object. |
|
Add each rule in |
|
|
|
Return the default pass threshold level of this object. |
|
Return the default record threshold level of this object. |
|
Return the default threshold levels associated with this object. |
|
Return the default trigger‐all threshold level of this object. |
|
Return the default trigger threshold level of this object. |
|
Return the number of categories in the registry of this category manager. |
|
|
|
Return the current capacity of this category registry. |
|
Subscript operators |
|
Remove every rule from the set of rules maintained by this object. |
|
Remove the specified rule from the unique rule set of this object. |
|
Remove each rule in |
|
Reset all linked category holders to their default values. |
|
Reset the default threshold levels to the original "factory‐supplied" default values or the factory overrides supplied at construction. |
|
Return a const reference to the maintained rule set. |
|
Return the sequence number that tracks rule‐set changes. |
|
Return a reference to the mutex guarding the rule set. |
|
|
|
Set the specified category's thresholds to the current default values. |
|
Set the specified category's thresholds to the factory default values. |
|
Set the default threshold levels. |
|
Set or clear the default‐thresholds callback. |
|
Set the capacity of this category registry. |
|
Set or create the named category with the specified threshold levels. |
|
Set threshold levels for all categories matching a name prefix. |
|
Load the threshold levels that would apply to a newly created category. |
|
|
Created with MrDocs