Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

balm::StreamPublisher Class Reference

#include <balm_streampublisher.h>

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

List of all members.

Public Member Functions

 StreamPublisher (bsl::ostream &stream)
virtual ~StreamPublisher ()
virtual void publish (const MetricSample &metricValues)

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 Component balm_streampublisher


Constructor & Destructor Documentation

balm::StreamPublisher::StreamPublisher ( bsl::ostream &  stream  ) 

Create a streampublisher and initialize it to publish metrics to the specified stream.

virtual balm::StreamPublisher::~StreamPublisher (  )  [virtual]

Destroy this stream publisher.


Member Function Documentation

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: