BDE 4.39.x Production Release
Loading...
Searching...
No Matches
balm::StreamPublisher Class Reference

#include <balm_streampublisher.h>

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

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

Public Member Functions

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

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

Destroy this stream publisher.

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: