| #pragma once | |
| #include "conf.hpp" | |
| #include "sensors/manager.hpp" | |
| #include "sensors/sensor.hpp" | |
| #include <sdbusplus/bus.hpp> | |
| #include <map> | |
| #include <string> | |
| namespace pid_control | |
| { | |
| /** | |
| * Build the sensors and associate them with a SensorManager. | |
| */ | |
| SensorManager | |
| buildSensors(const std::map<std::string, conf::SensorConfig>& config, | |
| sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host); | |
| } // namespace pid_control |