BDE 4.39.x Production Release
Loading...
Searching...
No Matches
ball::CategoryCallbacks Struct Reference

#include <ball_categorycallbacks.h>

Detailed Description

This struct provides a namespace for default threshold level related callback function types.

See ball_categorycallbacks

Public Types

typedef bsl::function< void(bsl::string *buffer, const char *categoryName)> NameFilter
 
typedef bsl::function< void(int *recordLevel, int *passLevel, int *triggerLevel, int *triggerAllLevel, const char *categoryName)> DefaultThresholdLevels
 

Member Typedef Documentation

◆ DefaultThresholdLevels

typedef bsl::function<void(int *recordLevel, int *passLevel, int *triggerLevel, int *triggerAllLevel, const char *categoryName)> ball::CategoryCallbacks::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);

◆ NameFilter

typedef bsl::function<void(bsl::string *buffer, const char *categoryName)> ball::CategoryCallbacks::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);
Definition bslstl_string.h:1252

See also CategoryManager.


The documentation for this struct was generated from the following file: