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

Constructors

== Synopses

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

Create a category manager with hardwired default threshold levels&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/ball/CategoryManager/2constructor-01.adoc[CategoryManager](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/CategoryManager/2constructor-01.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/CategoryManager/2constructor-0f.adoc[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);
----

[.small]#xref:BloombergLP/ball/CategoryManager/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *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
|===


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