blob: 955307a5221ee17375093595d387c452ee168ee3 [file] [log] [blame]
#pragma once
#include "conf.hpp"
#include "sensors/manager.hpp"
#include "sensors/sensor.hpp"
#include <sdbusplus/bus.hpp>
#include <map>
#include <string>
namespace pid_control
{
/**
* Build the sensors and associate them with a SensorManager.
*/
SensorManager
buildSensors(const std::map<std::string, conf::SensorConfig>& config,
sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host);
} // namespace pid_control