Add a category with the specified name and threshold levels.
Declared in <ball_categorymanager.h>
Add a category with the specified name and threshold levels.
Category*
addCategory(
char const* categoryName,
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel);
» more...
Add a category with the specified name and threshold levels.
Category*
addCategory(
CategoryHolder* categoryHolder,
char const* categoryName,
int recordLevel,
int passLevel,
int triggerLevel,
int triggerAllLevel);
» more...
address of the newly-created category on success, and 0 otherwise
| Name | Description |
|---|---|
| categoryName | name of the category to add |
| recordLevel | record threshold level for the new category |
| passLevel | pass threshold level for the new category |
| triggerLevel | trigger threshold level for the new category |
| triggerAllLevel | trigger-all threshold level for the new category |
| categoryHolder | optional holder to load with the category |