Quick Links: |
#include <balm_publisher.h>
Public Member Functions | |
virtual | ~Publisher () |
virtual void | publish (const MetricSample &metricValue)=0 |
This protocol class provides a publish
method to publish collected sample of recorded metric values. The precise meaning of publish is left to derived classes to specify.
virtual balm::Publisher::~Publisher | ( | ) | [virtual] |
Destroy this object.
virtual void balm::Publisher::publish | ( | const MetricSample & | metricValue | ) | [pure virtual] |
Publish the specified metricValue
. The exact definition of publish depends on the implementing class, though the intention is that the recorded metric values will be distributed in a human or machine readable form.
Implemented in balm::StreamPublisher.