blob: 688a9316708a034fce57c3b386efa3ad1ef7a255 [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 Venture5e929092018-06-08 10:55:23 -07009/**
10 * Build the sensors and associate them with a SensorManager.
11 */
James Feist1fe08952019-05-07 09:17:16 -070012SensorManager
13 buildSensors(const std::map<std::string, struct conf::SensorConfig>& config,
14 sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host);