#include <balm_streampublisher.h>
This class provides an implementation of the Publisher
protocol. This stream publisher publishes recorded metric values to an output stream specified at construction.
See balm_streampublisher
◆ StreamPublisher()
balm::StreamPublisher::StreamPublisher |
( |
bsl::ostream & |
stream | ) |
|
|
inline |
Create a streampublisher and initialize it to publish metrics to the specified stream
.
◆ ~StreamPublisher()
virtual balm::StreamPublisher::~StreamPublisher |
( |
| ) |
|
|
virtual |
◆ publish()
virtual void balm::StreamPublisher::publish |
( |
const MetricSample & |
metricValues | ) |
|
|
virtual |
Publish the specified metricValues
to the output stream specified at construction.
Implements balm::Publisher.
The documentation for this class was generated from the following file: