|
@@ -101,6 +101,7 @@ class StatemachineImplementation implements IContentTemplate {
|
|
|
''''''
|
|
|
}
|
|
|
|
|
|
+
|
|
|
def constructorDefinition(ExecutionFlow it){
|
|
|
'''
|
|
|
«module»::«module»():
|
|
@@ -131,7 +132,6 @@ class StatemachineImplementation implements IContentTemplate {
|
|
|
|
|
|
protected def CharSequence constructorBody(ExecutionFlow it)
|
|
|
'''
|
|
|
-««« «scopes.filter(typeof(StatechartScope)).filter[hasOperations && !entry.useStaticOPC].map['''«OCB_Instance» = null;'''].join('\n')»
|
|
|
«IF hasHistory»
|
|
|
for (int i = 0; i < «historyStatesConst»; ++i)
|
|
|
historyVector[i] = «null_state»;
|