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