1 #pragma once
2 
3 #include "conf.hpp"
4 #include "pid/zone_interface.hpp"
5 #include "sensors/manager.hpp"
6 
7 #include <sdbusplus/bus.hpp>
8 
9 #include <memory>
10 #include <unordered_map>
11 
12 namespace pid_control
13 {
14 
15 std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>>
16     buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
17                std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs,
18                SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);
19 
20 }
21