xref: /openbmc/phosphor-pid-control/pid/builder.hpp (revision 7e3f8abe3ec920cea5a73ab8f93942271e282bd7)
15c7cc545SPatrick Venture #pragma once
25c7cc545SPatrick Venture 
3da4a5dd1SPatrick Venture #include "pid/zone.hpp"
4da4a5dd1SPatrick Venture #include "sensors/manager.hpp"
5da4a5dd1SPatrick Venture 
65c7cc545SPatrick Venture #include <memory>
75c7cc545SPatrick Venture #include <sdbusplus/bus.hpp>
85c7cc545SPatrick Venture #include <unordered_map>
95c7cc545SPatrick Venture 
10da4a5dd1SPatrick Venture std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
11*7e3f8abeSPatrick Venture     buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
12f81f2886SJames Feist                std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs,
13f3252315SPatrick Venture                SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);
14