Class StatPublisher

Inheritance Relationships

Derived Types

Class Documentation

class StatPublisher

An abstract class providing an API to publish computed statistics.

Subclassed by ska::pst::stat::ScalarStatPublisher, ska::pst::stat::StatHdf5FileWriter

Public Functions

StatPublisher(const ska::pst::common::AsciiHeader &config)

Create instance of a Stat Publisher object.

Parameters

config – the configuration current voltage data stream.

virtual ~StatPublisher()

Destroy the Stat Publisher object.

virtual void publish(std::shared_ptr<StatStorage> storage) = 0

publish the current statistics to configured endpoint/location.

Parameters

storage – reference to the computed statistics to publish.

Protected Attributes

ska::pst::common::AsciiHeader config

the configuration for the current stream of voltage data.