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