summaryrefslogtreecommitdiffstats
path: root/sensors/builder.hpp
blob: 688a9316708a034fce57c3b386efa3ad1ef7a255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);
OpenPOWER on IntegriCloud