Create a registry that can forward metric registrations to an adapter.

Synopsis

Declared in <bdlm_metricsregistry.h>

explicit
MetricsRegistry(bslma::Allocator* basicAllocator = 0);

Description

Create a MetricsRegistry object that stores the information necessary to forward the registration and unregistration of metrics to an adapter supplied with setMetricsRegistry. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

Created with MrDocs