BloombergLP::ball::CategoryManager::setDefaultThresholdLevels

Set the default threshold levels.

Synopsis

Declared in <ball_categorymanager.h>

int
setDefaultThresholdLevels(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Description

Set the default threshold levels to the specified recordLevel, passLevel, triggerLevel, and triggerAllLevel values, respectively, if each threshold level is in the range [0 .. 255]. Return 0 on success, and a non-zero value otherwise (with no effect on any of the default threshold levels).

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
recordLeveldefault record threshold level
passLeveldefault pass threshold level
triggerLeveldefault trigger threshold level
triggerAllLeveldefault trigger-all threshold level