Krzysztof Grobelny | b564594 | 2020-09-29 11:52:45 +0200 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Krzysztof Grobelny | f32f6fe | 2020-10-30 13:51:58 +0100 | [diff] [blame] | 3 | #include <cstdint> |
Krzysztof Grobelny | b564594 | 2020-09-29 11:52:45 +0200 | [diff] [blame] | 4 | #include <optional> |
| 5 | |
| 6 | namespace interfaces |
| 7 | { |
| 8 | |
| 9 | class Sensor; |
| 10 | |
| 11 | class SensorListener |
| 12 | { |
| 13 | public: |
| 14 | virtual ~SensorListener() = default; |
| 15 | |
| 16 | virtual void sensorUpdated(interfaces::Sensor&, uint64_t) = 0; |
| 17 | virtual void sensorUpdated(interfaces::Sensor&, uint64_t, double) = 0; |
| 18 | }; |
| 19 | |
| 20 | } // namespace interfaces |