Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 3 | #include "sensors/manager.hpp" |
| 4 | #include "sensors/sensor.hpp" |
| 5 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 6 | #include <map> |
| 7 | #include <string> |
| 8 | |
Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 9 | /** |
| 10 | * Build the sensors and associate them with a SensorManager. |
| 11 | */ |
James Feist | 1fe0895 | 2019-05-07 09:17:16 -0700 | [diff] [blame] | 12 | SensorManager |
| 13 | buildSensors(const std::map<std::string, struct conf::SensorConfig>& config, |
| 14 | sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host); |