1 #pragma once 2 3 #include "types/duration_types.hpp" 4 5 #include <cstdint> 6 #include <optional> 7 8 namespace interfaces 9 { 10 11 class Sensor; 12 13 class SensorListener 14 { 15 public: 16 virtual ~SensorListener() = default; 17 18 virtual void sensorUpdated(interfaces::Sensor&, Milliseconds, double) = 0; 19 }; 20 21 } // namespace interfaces 22