blob: a7f41f8057e9eaa2aa841147864c0be076dbc4e2 [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>>
12 BuildZonesFromConfig(const std::string& path, SensorManager& mgr,
13 sdbusplus::bus::bus& modeControlBus);