aboutsummaryrefslogtreecommitdiffstats
path: root/src/pm_wrapper.hpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-10-30 14:36:16 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-10-30 14:36:16 +0900
commitde492ca32c0cc4eb7e090ba33945eb75a21cc14a (patch)
treec81e48f9fa7199afa87a25781599ed6d963989b1 /src/pm_wrapper.hpp
parent3ae8e9b6a7947b91409b112e1a699385627c5945 (diff)
add source for ces2019
Diffstat (limited to 'src/pm_wrapper.hpp')
-rw-r--r--src/pm_wrapper.hpp3
1 files changed, 2 insertions, 1 deletions
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<void(std::vector<WMAction>)>;
using ErrorHandler = std::function<void(void)>;
- 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<std::string, RoleState> prvlayer2rolestate;
std::map<std::string, RoleState> crrlayer2rolestate;
+ void createCarStateChangeAction(json_object *json_out, std::vector<WMAction> &actions);
void createLayoutChangeAction(json_object *json_out, std::vector<WMAction> &actions);
};