blob: 0ee3420b7b0fbea4d50a34a5dcda6951ee07a517 [file] [log] [blame]
#pragma once
#include "pid/zone.hpp"
#include "sensors/manager.hpp"
#include <sdbusplus/bus.hpp>
#include <memory>
#include <unordered_map>
namespace pid_control
{
std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
buildZones(const std::map<int64_t, conf::PIDConf>& zonePids,
std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs,
SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);
}