xref: /openbmc/telemetry/src/interfaces/report.hpp (revision b4ef22e4d365bde35a7fce7950033c9271c68ce7)
1 #pragma once
2 
3 #include "types/report_types.hpp"
4 
5 #include <string>
6 
7 namespace interfaces
8 {
9 
10 class Report
11 {
12   public:
13     virtual ~Report() = default;
14 
15     virtual std::string getId() const = 0;
16     virtual std::string getPath() const = 0;
17     virtual void updateReadings() = 0;
18     virtual void updateTriggerIds(const std::string& triggerId,
19                                   TriggerIdUpdate updateType) = 0;
20 };
21 } // namespace interfaces
22