class InternalMetricsPtr

Defined at line 228 of file ../../third_party/cobalt/src/logger/internal_metrics.h

InternalMetricsPtr holds either a pointer to an InternalMetrics implementation, or a pointer to

an instance of NoOpInternalMetrics. This class guarantees that the pointer is always valid.

Public Methods

void InternalMetricsPtr ()

Defined at line 230 of file ../../third_party/cobalt/src/logger/internal_metrics.h

void InternalMetricsPtr (InternalMetrics * internal_metrics)

Defined at line 231 of file ../../third_party/cobalt/src/logger/internal_metrics.h

void reset (InternalMetrics * internal_metrics)

Defined at line 233 of file ../../third_party/cobalt/src/logger/internal_metrics.h

InternalMetrics * get ()

Defined at line 241 of file ../../third_party/cobalt/src/logger/internal_metrics.h

InternalMetrics * operator-> ()

Defined at line 242 of file ../../third_party/cobalt/src/logger/internal_metrics.h

InternalMetrics & operator* ()

Defined at line 243 of file ../../third_party/cobalt/src/logger/internal_metrics.h