fixTemplate #2

Merged
HEL merged 2 commits from fixTemplate into main 2023-07-11 20:59:07 +00:00
Showing only changes of commit 3678c0043f - Show all commits

View File

@ -19,6 +19,9 @@ void ${filename}_startBehaviour(${filename}* me){
bool ${filename}_processEvent(Event* ev) {
bool processed = false;
${filename}* me = (${filename}*)Event_getTarget(ev);
${filename}_STATES oldState = me->state;
evIDT evid = Event_getId(ev);
switch (me->state) { // onState
case ST${fn}_INIT:
if (ev->id == ev${fn}init) {
@ -59,4 +62,4 @@ ${EVENTS_EMITS_DEF}
* SETTERS *
***********/
${VARS_SETTERS_DEF}
${VARS_SETTERS_DEF}