From 98006b6538c5be44350746ec3756f004a5c68af8 Mon Sep 17 00:00:00 2001 From: "fukubayashi.akio" Date: Mon, 3 Jun 2019 17:59:13 +0900 Subject: Add boot sequence and multi ecu transfer Signed-off-by: fukubayashi.akio --- src/pm_wrapper.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pm_wrapper.hpp') diff --git a/src/pm_wrapper.hpp b/src/pm_wrapper.hpp index 31ec002..84d68df 100644 --- a/src/pm_wrapper.hpp +++ b/src/pm_wrapper.hpp @@ -41,7 +41,7 @@ class PMWrapper using StateTransitionHandler = std::function)>; using ErrorHandler = std::function; - int initialize(); + int initialize(std::string ecu_name); void registerCallback(StateTransitionHandler on_state_transitioned, ErrorHandler on_error); int setInputEventData(Task task, std::string role, std::string area); @@ -67,6 +67,7 @@ class PMWrapper std::map prvlayer2rolestate; std::map crrlayer2rolestate; + void createCarStateChangeAction(json_object *json_out, std::vector &actions); void createLayoutChangeAction(json_object *json_out, std::vector &actions); }; -- cgit 1.2.3-korg