xref: /openbmc/phosphor-pid-control/sensors/builder.hpp (revision 1fe08952e5bc827003a0621ae4cf7e688a458eb8)
1 #pragma once
2 
3 #include "sensors/manager.hpp"
4 #include "sensors/sensor.hpp"
5 
6 #include <map>
7 #include <string>
8 
9 /**
10  * Build the sensors and associate them with a SensorManager.
11  */
12 SensorManager
13     buildSensors(const std::map<std::string, struct conf::SensorConfig>& config,
14                  sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host);
15