Constructors

Synopses

Declared in <balm_integermetric.h>

Create an integer metric object having the same value as original.

IntegerMetric(IntegerMetric const& original);

Create an integer metric object that uses the specified collector.

explicit
IntegerMetric(IntegerCollector* collector);

Create an integer metric object for the specified metricId.

explicit
IntegerMetric(
    MetricId const& metricId,
    MetricsManager* manager = 0);

Create an integer metric object for the specified category and name.

IntegerMetric(
    char const* category,
    char const* name,
    MetricsManager* manager = 0);

Parameters

Name

Description

original

integer metric to copy

collector

integer collector used to record metric values

metricId

identity of the metric to collect

manager

metrics manager used to provide a collector (0 for default)

category

null‐terminated metric category name

name

null‐terminated metric name

Created with MrDocs