blob: 236fee73d5a5a394076829d99cd0984d424c2e53 [file] [log] [blame]
Patrick Venture5e929092018-06-08 10:55:23 -07001#pragma once
2
Patrick Venture5e929092018-06-08 10:55:23 -07003#include "sensors/manager.hpp"
4#include "sensors/sensor.hpp"
5
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07006#include <map>
7#include <string>
8
Patrick Venturea0764872020-08-08 07:48:43 -07009namespace pid_control
10{
11
Patrick Venture5e929092018-06-08 10:55:23 -070012/**
13 * Build the sensors and associate them with a SensorManager.
14 */
James Feist1fe08952019-05-07 09:17:16 -070015SensorManager
16 buildSensors(const std::map<std::string, struct conf::SensorConfig>& config,
17 sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host);
Patrick Venturea0764872020-08-08 07:48:43 -070018
19} // namespace pid_control