Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Krzysztof Grobelny | 51f0fd5 | 2021-12-28 16:32:08 +0100 | [diff] [blame^] | 3 | #include "types/duration_types.hpp" |
| 4 | |
Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 5 | #include <cstdint> |
| 6 | #include <string> |
| 7 | |
| 8 | namespace interfaces |
| 9 | { |
| 10 | |
| 11 | class TriggerAction |
| 12 | { |
| 13 | public: |
| 14 | virtual ~TriggerAction() = default; |
| 15 | |
Krzysztof Grobelny | 51f0fd5 | 2021-12-28 16:32:08 +0100 | [diff] [blame^] | 16 | virtual void commit(const std::string& id, Milliseconds timestamp, |
Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 17 | double value) = 0; |
| 18 | }; |
| 19 | } // namespace interfaces |