blob: 688a9316708a034fce57c3b386efa3ad1ef7a255 [file] [log] [blame]
#pragma once
#include "sensors/manager.hpp"
#include "sensors/sensor.hpp"
#include <map>
#include <string>
/**
* 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);