Create a category manager with the specified defaults and callbacks.

Synopsis

Declared in <ball_categorymanager.h>

CategoryManager(
    int defaultRecordLevel,
    int defaultPassLevel,
    int defaultTriggerLevel,
    int defaultTriggerAllLevel,
    DefaultThresholdLevelsCallback const& defaultThresholdLevelsCallback,
    CategoryNameFilterCallback const& categoryNameFilterCallback,
    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. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

defaultRecordLevel

factory default record threshold

defaultPassLevel

factory default pass threshold

defaultTriggerLevel

factory default trigger threshold

defaultTriggerAllLevel

factory default trigger‐all threshold

defaultThresholdLevelsCallback

callback for default thresholds

categoryNameFilterCallback

callback that translates names

basicAllocator

memory allocator; null uses the default

Created with MrDocs