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