1 #pragma once 2 3 #include "conf.hpp" 4 #include "sensors/manager.hpp" 5 #include "sensors/sensor.hpp" 6 7 #include <sdbusplus/bus.hpp> 8 9 #include <map> 10 #include <string> 11 12 namespace pid_control 13 { 14 15 /** 16 * Build the sensors and associate them with a SensorManager. 17 */ 18 SensorManager 19 buildSensors(const std::map<std::string, struct conf::SensorConfig>& config, 20 sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host); 21 22 } // namespace pid_control 23