Home
last modified time | relevance | path

Searched refs:IfAction (Results 1 – 7 of 7) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dif_action.hpp50 class IfAction : public Action class
54 IfAction() = delete;
55 IfAction(const IfAction&) = delete;
56 IfAction(IfAction&&) = delete;
57 IfAction& operator=(const IfAction&) = delete;
58 IfAction& operator=(IfAction&&) = delete;
59 virtual ~IfAction() = default;
68 explicit IfAction(std::unique_ptr<Action> conditionAction, in IfAction() function in phosphor::power::regulators::IfAction
H A Dif_action.cpp24 bool IfAction::execute(ActionEnvironment& environment) in execute()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dif_action_tests.cpp48 IfAction ifAction{std::move(conditionAction), std::move(thenActions)}; in TEST()
66 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
105 IfAction ifAction{std::move(conditionAction), std::move(thenActions)}; in TEST()
134 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
163 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
192 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
221 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
259 IfAction ifAction{std::unique_ptr<Action>{conditionAction}, in TEST()
277 IfAction ifAction{std::move(conditionAction), std::move(thenActions)}; in TEST()
297 IfAction ifAction{std::move(conditionAction), std::move(thenActions), in TEST()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dphase_fault_detection_tests.cpp385 auto ifAction = std::make_unique<IfAction>(std::move(conditionAction), in TEST_F()
440 auto ifAction = std::make_unique<IfAction>(std::move(conditionAction), in TEST_F()
H A Dconfig_file_parser_tests.cpp3202 std::unique_ptr<IfAction> action = parseIf(element); in TEST()
3217 std::unique_ptr<IfAction> action = parseIf(element); in TEST()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dconfig_file_parser.hpp483 std::unique_ptr<IfAction> parseIf(const nlohmann::json& element);
H A Dconfig_file_parser.cpp694 std::unique_ptr<IfAction> parseIf(const json& element) in parseIf()
722 return std::make_unique<IfAction>(std::move(conditionAction), in parseIf()