Class ScalarStatPublisher
Defined in File ScalarStatPublisher.h
Inheritance Relationships
Base Type
public ska::pst::stat::StatPublisher
(Class StatPublisher)
Class Documentation
-
class ScalarStatPublisher : public ska::pst::stat::StatPublisher
Concrete statistics publisher that only publishes scalar statistics, buffering the result locally.
Public Functions
-
ScalarStatPublisher(const ska::pst::common::AsciiHeader &config)
Create instance of a ScalarStatPublisher object.
- Parameters
config – the configuration current voltage data stream.
-
virtual ~ScalarStatPublisher()
Destroy the ScalarStatPublisher object.
publish the computed statistics as a scalar_stats attribute.
- Parameters
storage – reference to the computed statistics to publish.
-
void reset()
reset the computed statistics scalar_stats attribute.
-
StatStorage::scalar_stats_t get_scalar_stats()
Return the scalar statistics of the ScalarStatPublisher.
-
ScalarStatPublisher(const ska::pst::common::AsciiHeader &config)