Return the specified manager if non-null, and the default metrics manager instance otherwise.
Declared in <balm_defaultmetricsmanager.h>
static
MetricsManager*
manager(MetricsManager* manager = 0);
If the optionally specified manager is not 0, return manager; otherwise return the address of the default metrics manager instance, or 0 if the default metrics manager instance has not yet been created or has already been destroyed. Note that this operation is logically equivalent to manager ? manager : instance().
manager if non-null; otherwise the default instance, or 0
| Name | Description |
|---|---|
| manager | metrics manager to return, or 0 to use the default |