BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balm::StreamPublisher Class Reference

#include <balm_streampublisher.h>

Inheritance diagram for balm::StreamPublisher:
balm::Publisher

Public Member Functions

 StreamPublisher (bsl::ostream &stream)
 
virtual ~StreamPublisher ()
 Destroy this stream publisher.
 
virtual void publish (const MetricSample &metricValues)
 
- Public Member Functions inherited from balm::Publisher
virtual ~Publisher ()
 Destroy this object.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ 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: