[#BloombergLP-ball-CategoryManager-2constructor-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager.adoc[CategoryManager]::CategoryManager
:relfileprefix: ../../../
:mrdocs:

Create a category manager with the specified defaults and callbacks&period;

== Synopsis

Declared in `&lt;ball&lowbar;categorymanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CategoryManager(
    int defaultRecordLevel,
    int defaultPassLevel,
    int defaultTriggerLevel,
    int defaultTriggerAllLevel,
    xref:BloombergLP/ball/CategoryManager/DefaultThresholdLevelsCallback.adoc[DefaultThresholdLevelsCallback] const& defaultThresholdLevelsCallback,
    xref:BloombergLP/ball/CategoryManager/CategoryNameFilterCallback.adoc[CategoryNameFilterCallback] const& categoryNameFilterCallback,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Create a category manager with the specified default threshold level values `defaultRecordLevel`, `defaultPassLevel`, `defaultTriggerLevel`, `defaultTriggerAllLevel`, the `defaultThresholdLevelsCallback`, and the `categoryNameFilterCallback`&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *defaultRecordLevel*
| factory default record threshold
| *defaultPassLevel*
| factory default pass threshold
| *defaultTriggerLevel*
| factory default trigger threshold
| *defaultTriggerAllLevel*
| factory default trigger&hyphen;all threshold
| *defaultThresholdLevelsCallback*
| callback for default thresholds
| *categoryNameFilterCallback*
| callback that translates names
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
