blob: ed685fdd0141040c537cff0b5c69429fcd08a6a6 [file] [log] [blame]
Patrick Venture5e929092018-06-08 10:55:23 -07001#pragma once
2
Patrick Venturecfbf62b2020-08-10 09:05:06 -07003#include "conf.hpp"
Patrick Venture5e929092018-06-08 10:55:23 -07004#include "sensors/manager.hpp"
Patrick Venture5e929092018-06-08 10:55:23 -07005
Patrick Venturecfbf62b2020-08-10 09:05:06 -07006#include <sdbusplus/bus.hpp>
7
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07008#include <map>
9#include <string>
10
Patrick Venturea0764872020-08-08 07:48:43 -070011namespace pid_control
12{
13
Patrick Venture5e929092018-06-08 10:55:23 -070014/**
15 * Build the sensors and associate them with a SensorManager.
16 */
Patrick Williams19300272025-02-01 08:22:48 -050017SensorManager buildSensors(
18 const std::map<std::string, conf::SensorConfig>& config,
19 sdbusplus::bus_t& passive, sdbusplus::bus_t& host);
Patrick Venturea0764872020-08-08 07:48:43 -070020
21} // namespace pid_control