blob: bea3bd02904847173095e01c5236e17d810f69ff [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, struct conf::SensorConfig>& config,
sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host);
} // namespace pid_control