blob: 345da5dabdca7a12a99f210cec5a2b55b4fd877c [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"
5#include "sensors/sensor.hpp"
6
Patrick Venturecfbf62b2020-08-10 09:05:06 -07007#include <sdbusplus/bus.hpp>
8
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07009#include <map>
10#include <string>
11
Patrick Venturea0764872020-08-08 07:48:43 -070012namespace pid_control
13{
14
Patrick Venture5e929092018-06-08 10:55:23 -070015/**
16 * Build the sensors and associate them with a SensorManager.
17 */
Patrick Williams19300272025-02-01 08:22:48 -050018SensorManager buildSensors(
19 const std::map<std::string, conf::SensorConfig>& config,
20 sdbusplus::bus_t& passive, sdbusplus::bus_t& host);
Patrick Venturea0764872020-08-08 07:48:43 -070021
22} // namespace pid_control