Krzysztof Grobelny | b564594 | 2020-09-29 11:52:45 +0200 | [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 | |
Krzysztof Grobelny | f32f6fe | 2020-10-30 13:51:58 +0100 | [diff] [blame] | 5 | #include <cstdint> |
Krzysztof Grobelny | b564594 | 2020-09-29 11:52:45 +0200 | [diff] [blame] | 6 | #include <optional> |
| 7 | |
| 8 | namespace interfaces |
| 9 | { |
| 10 | |
| 11 | class Sensor; |
| 12 | |
| 13 | class SensorListener |
| 14 | { |
| 15 | public: |
| 16 | virtual ~SensorListener() = default; |
| 17 | |
Krzysztof Grobelny | 51f0fd5 | 2021-12-28 16:32:08 +0100 | [diff] [blame] | 18 | virtual void sensorUpdated(interfaces::Sensor&, Milliseconds, double) = 0; |
Krzysztof Grobelny | b564594 | 2020-09-29 11:52:45 +0200 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | } // namespace interfaces |