|
@@ -469,7 +469,7 @@ p. A local reaction can have a priority value. The latter is defined by appendin
|
|
|
bc(prettyprint#GeneratorFeatures)..
|
|
|
localEvent2 / NamedInterface.variable2 += 3; #1
|
|
|
localEvent3 / NamedInterface.variable4 += 2.0; #2
|
|
|
-h2. SGen generator features
|
|
|
+h2(#Codegeneration). SGen generator features
|
|
|
|
|
|
All generators can be customized by a generator model. This is a textual model in a file, specifying generator features, i.e. the outlet path. The following screenshot shows an sample configuration for the Java code generator.
|
|
|
|
|
@@ -747,7 +747,7 @@ feature Template {
|
|
|
p. ==<!-- End sgen_feature_template -->==
|
|
|
|
|
|
|
|
|
-h2(#APISecification). API specifications of the generated code
|
|
|
+h2(#APISpecification). API specifications of the generated code
|
|
|
|
|
|
The explanations below are using the _TrafficLight_ sample state machine to describe the API specifications of the code generated by the YAKINDU C and Java code generators. The image below is showing the statechart. It models a pedestrian crossing with push-button operated traffic lights ("pelican crossing").
|
|
|
|