Class StatKafkaMsgGenerator
Defined in File StatKafkaMsgGenerator.h
Inheritance Relationships
Derived Type
public ska::pst::stat::StatMsgPackGenerator(Class StatMsgPackGenerator)
Class Documentation
-
class StatKafkaMsgGenerator
Pure virtual / abstract base class / interface for objects that extract a string from computed stats to be send to Kafka.
Subclassed by ska::pst::stat::StatMsgPackGenerator
Public Functions
-
virtual ~StatKafkaMsgGenerator() = default
Default virtual destructor.
-
virtual std::string generate_msg(const StatStorage &storage) = 0
Derived classes must generate a string from computed statistics.
- Parameters
storage – reference to the computed statistics from which to generate a string
- Returns
a string derived from the computed statistics
-
virtual ~StatKafkaMsgGenerator() = default