BloombergLP::balm::StreamPublisher

This class provides an implementation of the Publisher protocol. This stream publisher publishes recorded metric values to an output stream specified at construction.

Synopsis

Declared in <balm_streampublisher.h>

class StreamPublisher
    : public Publisher

Base Classes

NameDescription
PublisherThis 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.

Member Functions

NameDescription
StreamPublisher [constructor]Create a streampublisher and initialize it to publish metrics to the specified stream.
~StreamPublisher [destructor] [virtual]Destroy this stream publisher.
publish publish overloads