blob: 437a79f85709ba492c644b1b535867ef602cb47d [file] [log] [blame]
Wludzik, Jozef1477fe62021-01-02 11:56:10 +01001#pragma once
2
Krzysztof Grobelny51f0fd52021-12-28 16:32:08 +01003#include "types/duration_types.hpp"
4
Wludzik, Jozef1477fe62021-01-02 11:56:10 +01005#include <cstdint>
6#include <string>
7
8namespace interfaces
9{
10
11class TriggerAction
12{
13 public:
14 virtual ~TriggerAction() = default;
15
Krzysztof Grobelny51f0fd52021-12-28 16:32:08 +010016 virtual void commit(const std::string& id, Milliseconds timestamp,
Wludzik, Jozef1477fe62021-01-02 11:56:10 +010017 double value) = 0;
18};
19} // namespace interfaces