Patrick Venture | 5c7cc54 | 2018-06-11 14:29:38 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Patrick Venture | 7a98c19 | 2020-08-12 08:35:16 -0700 | [diff] [blame^] | 3 | #include "conf.hpp" |
| 4 | #include "pid/zone_interface.hpp" |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 5 | #include "sensors/manager.hpp" |
| 6 | |
Patrick Venture | 5c7cc54 | 2018-06-11 14:29:38 -0700 | [diff] [blame] | 7 | #include <sdbusplus/bus.hpp> |
Patrick Venture | a83a3ec | 2020-08-04 09:52:05 -0700 | [diff] [blame] | 8 | |
| 9 | #include <memory> |
Patrick Venture | 5c7cc54 | 2018-06-11 14:29:38 -0700 | [diff] [blame] | 10 | #include <unordered_map> |
| 11 | |
Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 12 | namespace pid_control |
| 13 | { |
| 14 | |
Patrick Venture | 7a98c19 | 2020-08-12 08:35:16 -0700 | [diff] [blame^] | 15 | std::unordered_map<int64_t, std::unique_ptr<ZoneInterface>> |
Patrick Venture | 7e3f8ab | 2020-08-03 11:10:43 -0700 | [diff] [blame] | 16 | buildZones(const std::map<int64_t, conf::PIDConf>& zonePids, |
James Feist | f81f288 | 2019-02-26 11:26:36 -0800 | [diff] [blame] | 17 | std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs, |
Patrick Venture | f325231 | 2018-10-30 08:42:53 -0700 | [diff] [blame] | 18 | SensorManager& mgr, sdbusplus::bus::bus& modeControlBus); |
Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 19 | |
| 20 | } |