setCategory overloads

Synopses

Declared in <ball_categorymanager.h>

Return the category named categoryName, creating it if needed.

Category const*
setCategory(char const* categoryName);

Return the category named categoryName, creating it if needed.

Category const*
setCategory(
    CategoryHolder* categoryHolder,
    char const* categoryName);

Add or update a category with the specified name and threshold levels.

Category*
setCategory(
    char const* categoryName,
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);

Return Value

  • address of the category named categoryName, or of the Default Category if none exists

  • address of the (possibly newly‐created) category if created or reset, and 0 otherwise

Parameters

Name

Description

categoryName

name of the category to look up or create

categoryHolder

optional holder to load with the category

recordLevel

record threshold level

passLevel

pass threshold level

triggerLevel

trigger threshold level

triggerAllLevel

trigger‐all threshold level

Created with MrDocs