blob: 9afb000509e1a91b503bc55c6a10c14da5f47f78 [file] [log] [blame]
Patrick Venture5c7cc542018-06-11 14:29:38 -07001#pragma once
2
Patrick Venture7a98c192020-08-12 08:35:16 -07003#include "conf.hpp"
4#include "pid/zone_interface.hpp"
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07005#include "sensors/manager.hpp"
6
Patrick Venture5c7cc542018-06-11 14:29:38 -07007#include <sdbusplus/bus.hpp>
Patrick Venturea83a3ec2020-08-04 09:52:05 -07008
Ed Tanousf8b6e552025-06-27 13:27:50 -07009#include <cstdint>
10#include <map>
Patrick Venturea83a3ec2020-08-04 09:52:05 -070011#include <memory>
Patrick Venture5c7cc542018-06-11 14:29:38 -070012#include <unordered_map>
13
Patrick Venturea0764872020-08-08 07:48:43 -070014namespace pid_control
15{
16
Patrick Williams19300272025-02-01 08:22:48 -050017std::unordered_map<int64_t, std::shared_ptr<ZoneInterface>> buildZones(
18 const std::map<int64_t, conf::PIDConf>& zonePids,
19 std::map<int64_t, conf::ZoneConfig>& zoneConfigs, SensorManager& mgr,
20 sdbusplus::bus_t& modeControlBus);
Patrick Venturea0764872020-08-08 07:48:43 -070021
22}