lintel 0.2.0
Loading...
Searching...
No Matches
IHistoryService.h
Go to the documentation of this file.
1#ifndef LINTEL_IHISTORYSERVICE_H
2#define LINTEL_IHISTORYSERVICE_H
3
4#include <string>
5#include <vector>
6
8
9namespace lintel {
19{
20public:
21 virtual ~IHistoryService() = default;
22
27 virtual void historizeOf(std::vector<HistoryEntry> entries) = 0;
28
30 [[nodiscard]] virtual const std::string &getProcessName() const = 0;
31
33 [[nodiscard]] virtual std::vector<HistoryEntry> allOf() const = 0;
34
39 [[nodiscard]] virtual std::vector<HistoryEntry> allOf(const std::string &label) const = 0;
40
46 [[nodiscard]] virtual std::vector<HistoryEntry> allOf(const std::string &processName,
47 const std::string &serviceName) const = 0;
48
53 [[nodiscard]] virtual std::vector<HistoryEntry> allOfProcess(const std::string &processName) const = 0;
54
59 [[nodiscard]] virtual std::vector<HistoryEntry> allOfService(const std::string &serviceName) const = 0;
60};
61
62}// namespace lintel
63#endif// LINTEL_IHISTORYSERVICE_H
Definition IHistoryService.h:19
virtual std::vector< HistoryEntry > allOf() const =0
virtual std::vector< HistoryEntry > allOfProcess(const std::string &processName) const =0
virtual std::vector< HistoryEntry > allOf(const std::string &label) const =0
virtual ~IHistoryService()=default
virtual const std::string & getProcessName() const =0
virtual std::vector< HistoryEntry > allOfService(const std::string &serviceName) const =0
virtual std::vector< HistoryEntry > allOf(const std::string &processName, const std::string &serviceName) const =0
virtual void historizeOf(std::vector< HistoryEntry > entries)=0
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9