blob: ed685fdd0141040c537cff0b5c69429fcd08a6a6 [file] [log] [blame]
#pragma once
#include "conf.hpp"
#include "sensors/manager.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_t& passive, sdbusplus::bus_t& host);
} // namespace pid_control