|
|
@@ -19,9 +19,9 @@ class EventDrivenStatemachineHeader extends StatemachineHeader {
|
|
|
@Inject extension EventNaming
|
|
|
@Inject extension StatechartEventsHeader events
|
|
|
|
|
|
- override additionalContents(ExecutionFlow it) {
|
|
|
+ override preStatechartDeclarations(ExecutionFlow it) {
|
|
|
'''
|
|
|
- «super.additionalContents(it)»
|
|
|
+ «super.preStatechartDeclarations(it)»
|
|
|
|
|
|
«events.content(it)»
|
|
|
'''
|
|
|
@@ -34,13 +34,6 @@ class EventDrivenStatemachineHeader extends StatemachineHeader {
|
|
|
'''
|
|
|
}
|
|
|
|
|
|
- override includes(ExecutionFlow it, extension IGenArtifactConfigurations artifactConfigs) {
|
|
|
- '''
|
|
|
- «super.includes(it, artifactConfigs)»
|
|
|
- #include "«eventsModule.h»"
|
|
|
- '''
|
|
|
- }
|
|
|
-
|
|
|
override protected functions(ExecutionFlow it) {
|
|
|
super.functions(it).toString.replace('''const «scHandleDecl», sc_eventid evid''','''«scHandleDecl», sc_eventid evid''')
|
|
|
}
|