1#ifndef IV_SRC_MODEL_CONTROL_CONTROLMANAGER_HPP_
2#define IV_SRC_MODEL_CONTROL_CONTROLMANAGER_HPP_
23 bool load(std::string_view pathControls);
24 bool save(std::string_view pathControls,
25 const std::optional<std::shared_ptr<std::vector<std::shared_ptr<iv::file::xml::File>>>> &savingFilesOut =
28 [[nodiscard]] std::shared_ptr<iv::model::control::ValveManager>
getValveManager()
const;
29 [[nodiscard]] std::shared_ptr<iv::model::control::DamperManager>
getDamperManager()
const;
37 static constexpr std::string_view
valves {
"Valves"};
38 static constexpr std::string_view
dampers {
"Dampers"};
Definition ControlManager.hpp:17
ControlManager()
Definition ControlManager.cpp:6
bool load(std::string_view pathControls)
Definition ControlManager.cpp:12
std::shared_ptr< iv::model::control::DamperManager > m_damperManager
Definition ControlManager.hpp:33
std::shared_ptr< iv::model::control::ValveManager > m_valveManager
Definition ControlManager.hpp:32
bool save(std::string_view pathControls, const std::optional< std::shared_ptr< std::vector< std::shared_ptr< iv::file::xml::File > > > > &savingFilesOut=std::nullopt) const
Definition ControlManager.cpp:37
std::shared_ptr< iv::model::control::ValveManager > getValveManager() const
Definition ControlManager.cpp:60
std::shared_ptr< iv::model::control::DamperManager > getDamperManager() const
Definition ControlManager.cpp:65
~ControlManager()=default
void update(const ControlManager &other)
Definition ControlManager.cpp:70
Definition ControlManager.cpp:4
Definition ControlManager.hpp:36
static constexpr std::string_view valves
Definition ControlManager.hpp:37
static constexpr std::string_view dampers
Definition ControlManager.hpp:38