in code/4diac-integration/src/integration-test/resources/translator/basic/alg/statements/assignment/cpp/Assignment_out.cpp [51:72]
void FORTE_Assignment::executeEvent(int pa_nEIID){
bool bTransitionCleared;
do {
bTransitionCleared = true;
switch(m_nECCState) {
case scm_nStateSTART:
if(1)
enterStateSTATE2();
else
bTransitionCleared = false; //no transition cleared
break;
case scm_nStateSTATE2:
bTransitionCleared = false; //no transition cleared
break;
default:
DEVLOG_ERROR("The state is not in the valid range! The state value is: %d. The max value can be: 2.", m_nECCState.operator TForteUInt16 ());
m_nECCState = 0; // 0 is always the initial state
break;
}
pa_nEIID = cg_nInvalidEventID; // we have to clear the event after the first check in order to ensure correct behavior
} while(bTransitionCleared);
}