| Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 1 | #pragma once | 
|  | 2 |  | 
| Patrick Venture | cfbf62b | 2020-08-10 09:05:06 -0700 | [diff] [blame] | 3 | #include "conf.hpp" | 
| Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 4 | #include "sensors/manager.hpp" | 
|  | 5 | #include "sensors/sensor.hpp" | 
|  | 6 |  | 
| Patrick Venture | cfbf62b | 2020-08-10 09:05:06 -0700 | [diff] [blame] | 7 | #include <sdbusplus/bus.hpp> | 
|  | 8 |  | 
| Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 9 | #include <map> | 
|  | 10 | #include <string> | 
|  | 11 |  | 
| Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 12 | namespace pid_control | 
|  | 13 | { | 
|  | 14 |  | 
| Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 15 | /** | 
|  | 16 | * Build the sensors and associate them with a SensorManager. | 
|  | 17 | */ | 
| James Feist | 1fe0895 | 2019-05-07 09:17:16 -0700 | [diff] [blame] | 18 | SensorManager | 
| Patrick Venture | 1df9e87 | 2020-10-08 15:35:01 -0700 | [diff] [blame] | 19 | buildSensors(const std::map<std::string, conf::SensorConfig>& config, | 
| Patrick Williams | b228bc3 | 2022-07-22 19:26:56 -0500 | [diff] [blame] | 20 | sdbusplus::bus_t& passive, sdbusplus::bus_t& host); | 
| Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 21 |  | 
|  | 22 | } // namespace pid_control |