blob: 88915317e78d0960c10d527109e1d8fb672246ed [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 <unordered_map>
9
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070010std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
11 BuildZones(std::map<int64_t, PIDConf>& zonePids,
Patrick Venturef3252312018-10-30 08:42:53 -070012 std::map<int64_t, struct ZoneConfig>& zoneConfigs,
13 SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);