aboutsummaryrefslogtreecommitdiffstats
path: root/src/pm_wrapper.hpp
diff options
context:
space:
mode:
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);
};