Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Szymon Dompke | 94f71c5 | 2021-12-10 07:16:33 +0100 | [diff] [blame] | 3 | #include "interfaces/sensor.hpp" |
| 4 | #include "types/trigger_types.hpp" |
| 5 | |
Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 6 | namespace interfaces |
| 7 | { |
| 8 | |
| 9 | class Threshold |
| 10 | { |
| 11 | public: |
| 12 | virtual ~Threshold() = default; |
| 13 | |
| 14 | virtual void initialize() = 0; |
Szymon Dompke | 94f71c5 | 2021-12-10 07:16:33 +0100 | [diff] [blame] | 15 | virtual LabeledThresholdParam getThresholdParam() const = 0; |
| 16 | virtual void updateSensors(Sensors newSensors) = 0; |
Wludzik, Jozef | 1477fe6 | 2021-01-02 11:56:10 +0100 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | } // namespace interfaces |