xref: /openbmc/phosphor-pid-control/pid/builder.hpp (revision 5c7cc54577efc9fcb2ae4cb9f27e550f4f417694)
1*5c7cc545SPatrick Venture #pragma once
2*5c7cc545SPatrick Venture 
3*5c7cc545SPatrick Venture #include <memory>
4*5c7cc545SPatrick Venture #include <sdbusplus/bus.hpp>
5*5c7cc545SPatrick Venture #include <unordered_map>
6*5c7cc545SPatrick Venture 
7*5c7cc545SPatrick Venture #include "pid/zone.hpp"
8*5c7cc545SPatrick Venture #include "sensors/manager.hpp"
9*5c7cc545SPatrick Venture 
10*5c7cc545SPatrick Venture std::unordered_map<int64_t, std::unique_ptr<PIDZone>> BuildZones(
11*5c7cc545SPatrick Venture         std::map<int64_t, PIDConf>& zonePids,
12*5c7cc545SPatrick Venture         std::map<int64_t, struct zone>& zoneConfigs,
13*5c7cc545SPatrick Venture         SensorManager& mgr,
14*5c7cc545SPatrick Venture         sdbusplus::bus::bus& modeControlBus);
15