Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2013-08-02 12:28:51 +0000
committerThomas Schuetz2013-08-14 14:19:52 +0000
commitc33afca9d56542bc7422a9b118d96857c13a9fed (patch)
tree0964442cbce0310b010f304587e07d958ef7db69 /examples
parentf3d55ccdf388e6f5b7266a923bac8829390a8303 (diff)
downloadorg.eclipse.etrice-c33afca9d56542bc7422a9b118d96857c13a9fed.tar.gz
org.eclipse.etrice-c33afca9d56542bc7422a9b118d96857c13a9fed.tar.xz
org.eclipse.etrice-c33afca9d56542bc7422a9b118d96857c13a9fed.zip
[tutorials.java.aspecttrace] added etmap and etphys to example
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.etrice.tutorials.java.aspecttrace/gen_PingPongJava_aspecttrace.launch2
-rw-r--r--examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etmap10
-rw-r--r--examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etphys26
3 files changed, 37 insertions, 1 deletions
diff --git a/examples/org.eclipse.etrice.tutorials.java.aspecttrace/gen_PingPongJava_aspecttrace.launch b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/gen_PingPongJava_aspecttrace.launch
index ed4ed3460..0e3efd8b2 100644
--- a/examples/org.eclipse.etrice.tutorials.java.aspecttrace/gen_PingPongJava_aspecttrace.launch
+++ b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/gen_PingPongJava_aspecttrace.launch
@@ -7,7 +7,7 @@
<booleanAttribute key="Lib" value="false"/>
<booleanAttribute key="MSC" value="true"/>
<listAttribute key="ModelFiles">
-<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.room}"/>
+<listEntry value="${workspace_loc:/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etmap}"/>
</listAttribute>
<booleanAttribute key="SaveGenModel" value="false"/>
<booleanAttribute key="Verbose" value="false"/>
diff --git a/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etmap b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etmap
new file mode 100644
index 000000000..6a334688e
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etmap
@@ -0,0 +1,10 @@
+MappingModel MappingModel1 {
+ import PingPong_Model.* from "PingPong.room"
+ import PhysicalModel1.* from "PingPong.etphys"
+ Mapping LogSys1 -> PhysSys1 {
+ SubSystemMapping subSysRef1 -> nodeRef1 {
+ ThreadMapping defaultThread -> PhysicalThread1
+ }
+ }
+
+} \ No newline at end of file
diff --git a/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etphys b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etphys
new file mode 100644
index 000000000..e888d9526
--- /dev/null
+++ b/examples/org.eclipse.etrice.tutorials.java.aspecttrace/model/PingPong/PingPong.etphys
@@ -0,0 +1,26 @@
+PhysicalModel PhysicalModel1 {
+
+ PhysicalSystem PhysSys1 {
+ NodeRef nodeRef1 : NodeClass1
+ }
+
+ NodeClass NodeClass1 {
+ runtime = RuntimeClass1
+ priomin = -10
+ priomax = 10
+
+ DefaultThread PhysicalThread1 {
+ execmode = mixed
+ interval = 100ms
+ prio = 0
+ stacksize = 1024
+ msgblocksize = 32
+ msgpoolsize = 10
+ }
+ }
+
+ RuntimeClass RuntimeClass1 {
+ model = multiThreaded
+ }
+
+} \ No newline at end of file

Back to the top