[#BloombergLP-ball-CategoryCallbacks] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::CategoryCallbacks :relfileprefix: ../../ :mrdocs: This struct provides a namespace for default threshold level related callback function types. == Synopsis Declared in `<ball_categorycallbacks.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CategoryCallbacks; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/CategoryCallbacks/DefaultThresholdLevels.adoc[`DefaultThresholdLevels`] | An alias to a function meeting the following contract: ` /// Load into the specified `recordLevel`, `passLevel`, `triggerLevel`, /// and `triggerAllLevel` the default hierarchical threshold level /// settings for the specified `categoryName`. void defaultThresholdLevels(int *recordLevel, int *passLevel, int *triggerLevel, int *triggerAllLevel, const char *categoryName); ` | xref:BloombergLP/ball/CategoryCallbacks/NameFilter.adoc[`NameFilter`] | An alias to a function meeting the following contract: ` /// Load into the specified `buffer` the internal name to be used as /// the key in the `CategoryManager` registry for the specified /// external `categoryName`, or leave `buffer` unmodified to use /// `categoryName` as‐is. void nameFilter(bsl::string *buffer, const char *categoryName); ` See also `CategoryManager`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#