blob: 8390beeed450196664186f15db1d0dad7c0c7481 [file] [log] [blame]
Patrick Venture5c7cc542018-06-11 14:29:38 -07001#pragma once
2
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07003#include "pid/zone.hpp"
4#include "sensors/manager.hpp"
5
Patrick Venture5c7cc542018-06-11 14:29:38 -07006#include <memory>
7#include <sdbusplus/bus.hpp>
8#include <string>
9#include <unordered_map>
10
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070011std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
Patrick Venture7af157b2018-10-30 11:24:40 -070012 buildZonesFromConfig(const std::string& path, SensorManager& mgr,
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070013 sdbusplus::bus::bus& modeControlBus);