Class ModeHandling
Defined in File mode_handling.hpp
Class Documentation
-
class system_modes::ModeHandling
Reads and parses the error handling rules from the sytem modes and hierarchy file (SMH file). Provides getters to receive all rules that are applicable for a certain system state, usually a system deviation.
Public Functions
-
explicit ModeHandling(const std::string &model_path)
-
virtual ~ModeHandling() = default
-
virtual const std::vector<ModeRule> get_rules_for(const std::string &system, const StateAndMode &target)
Protected Attributes
-
mutable std::shared_timed_mutex rules_mutex_
-
explicit ModeHandling(const std::string &model_path)