aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jung2011-08-18 10:06:38 -0400
committerThomas Jung2011-08-18 10:06:38 -0400
commited7184b00e7babe611b3e11ae213c5b4728c1e06 (patch)
treefa5604b8c4880ab25c1a4c178e4cf2be4830e19f /plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html
parent821a6fae8b02feae4b3b984495c6391455529b94 (diff)
downloadorg.eclipse.etrice-ed7184b00e7babe611b3e11ae213c5b4728c1e06.tar.gz
org.eclipse.etrice-ed7184b00e7babe611b3e11ae213c5b4728c1e06.tar.xz
org.eclipse.etrice-ed7184b00e7babe611b3e11ae213c5b4728c1e06.zip
[doc.doc]directory AVIs added with two little video sequences
Diffstat (limited to 'plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html')
-rw-r--r--plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html159
1 files changed, 1 insertions, 158 deletions
diff --git a/plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html b/plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html
index 3693877f4..3dc2ed23a 100644
--- a/plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html
+++ b/plugins/org.eclipse.etrice.doc/help/Definethetoplevel.html
@@ -29,164 +29,7 @@
<p>
</p>
-<p>The model is finished now and the model file should look like this:</p>
-<div class="literallayout">
-<p>
-<code class="code">RoomModel&nbsp;SendingData&nbsp;{<br>
-
-<br>
- LogicalSystem&nbsp;SendingData_LogSystem&nbsp;{<br>
- SubSystemRef&nbsp;SendingDataAppl:&nbsp;SendingData_SubSystem<br>
- }<br>
-
-<br>
- SubSystemClass&nbsp;SendingData_SubSystem&nbsp;{<br>
- ActorRef&nbsp;SendigDataTopRef:&nbsp;SendingDataTop<br>
- }<br>
-
-<br>
- ActorClass&nbsp;SendingDataTop&nbsp;{<br>
- Structure&nbsp;{<br>
- ActorRef&nbsp;ref0:&nbsp;MrPing<br>
- ActorRef&nbsp;ref1:&nbsp;MrPong<br>
- Binding&nbsp;ref0.PingPongPort&nbsp;and&nbsp;ref1.PingPongPort<br>
- }<br>
- Behavior&nbsp;{&nbsp;}<br>
- }<br>
-
-<br>
- ActorClass&nbsp;MrPing&nbsp;{<br>
- Interface&nbsp;{<br>
- conjugated&nbsp;Port&nbsp;PingPongPort:&nbsp;PingPongProtocol<br>
- }<br>
- Structure&nbsp;{<br>
- external&nbsp;Port&nbsp;PingPongPort<br>
- }<br>
- Behavior&nbsp;{<br>
-
-<br>
- Operation&nbsp;printData(d:&nbsp;DemoData)&nbsp;:&nbsp;void&nbsp;{<br>
- "System.out.printf(\"d.int32Val:&nbsp;%d\\n\",d.int32Val);"<br>
- "System.out.printf(\"d.float64Val:&nbsp;%f\\n\",d.float64Val);"<br>
- "System.out.printf(\"d.int8Array:&nbsp;\");"<br>
- "for(int&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&lt;d.int8Array.length;&nbsp;i++)&nbsp;{"<br>
- "System.out.printf(\"%d&nbsp;\",d.int8Array[i]);}"<br>
- "System.out.printf(\"\\nd.stringVal:&nbsp;%s\\n\",d.stringVal);"<br>
- }<br>
-
-<br>
- StateMachine&nbsp;{<br>
- Transition&nbsp;wait2:&nbsp;waitForPong&nbsp;-&gt;&nbsp;waitForPong&nbsp;{<br>
- triggers&nbsp;{<br>
- &lt;pong:&nbsp;PingPongPort&gt;<br>
- }<br>
- action&nbsp;{<br>
- "printData(data);"<br>
- }<br>
- }<br>
- Transition&nbsp;wait1:&nbsp;waitForPongSimple&nbsp;-&gt;&nbsp;waitForPongSimple&nbsp;{<br>
- triggers&nbsp;{<br>
- &lt;pongSimple:&nbsp;PingPongPort&nbsp;guard&nbsp;{<br>
- "data&nbsp;&lt;&nbsp;10"<br>
- }&gt;<br>
- }<br>
- action&nbsp;{<br>
- "//&nbsp;keep&nbsp;in&nbsp;mind&nbsp;that&nbsp;MrPong&nbsp;increments"<br>
- "PingPongPort.pingSimple(data);"<br>
- "System.out.printf(\"data:&nbsp;%d\\n\",data);"<br>
- }<br>
- }<br>
- Transition&nbsp;next:&nbsp;waitForPongSimple&nbsp;-&gt;&nbsp;waitForPong&nbsp;{<br>
- triggers&nbsp;{<br>
- &lt;pongSimple:&nbsp;PingPongPort&gt;<br>
- }<br>
- action&nbsp;{<br>
- "System.out.printf(\"data:&nbsp;%d\\n\",data);"<br>
- ""<br>
- "DemoData&nbsp;d&nbsp;=&nbsp;new&nbsp;DemoData();"<br>
- "//&nbsp;send&nbsp;the&nbsp;default&nbsp;values"<br>
- "PingPongPort.ping(d);"<br>
- "d.int32Val=815;"<br>
- "for&nbsp;(int&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&lt;d.int8Array.length;i++){"<br>
- "\td.int8Array[i]=(byte)(i+100);"<br>
- "\t}"<br>
- "d.stringVal=\"some&nbsp;contents\";"<br>
- "d.float64Val=3.141234;"<br>
- "PingPongPort.ping(d);"<br>
- }<br>
- }<br>
- Transition&nbsp;init0:&nbsp;initial&nbsp;-&gt;&nbsp;waitForPongSimple&nbsp;{<br>
- action&nbsp;{<br>
- "PingPongPort.pingSimple(0);"<br>
- }<br>
- }<br>
- State&nbsp;waitForPong<br>
- State&nbsp;waitForPongSimple<br>
- }<br>
- }<br>
- }<br>
-
-<br>
- ActorClass&nbsp;MrPong&nbsp;{<br>
- Interface&nbsp;{<br>
- Port&nbsp;PingPongPort:&nbsp;PingPongProtocol<br>
- }<br>
- Structure&nbsp;{<br>
- external&nbsp;Port&nbsp;PingPongPort<br>
- }<br>
- Behavior&nbsp;{<br>
- StateMachine&nbsp;{<br>
- Transition&nbsp;init:&nbsp;initial&nbsp;-&gt;&nbsp;looping&nbsp;{&nbsp;}<br>
- Transition&nbsp;tr0:&nbsp;looping&nbsp;-&gt;&nbsp;looping&nbsp;{<br>
- triggers&nbsp;{<br>
- &lt;ping:&nbsp;PingPongPort&gt;<br>
- }<br>
- action&nbsp;{<br>
- "PingPongPort.pong(data);"<br>
- }<br>
- }<br>
- Transition&nbsp;tr1:&nbsp;looping&nbsp;-&gt;&nbsp;looping&nbsp;{<br>
- triggers&nbsp;{<br>
- &lt;pingSimple:&nbsp;PingPongPort&gt;<br>
- }<br>
- action&nbsp;{<br>
- "PingPongPort.pongSimple(data+1);"<br>
- }<br>
- }<br>
- State&nbsp;looping<br>
- }<br>
- }<br>
- }<br>
-
-<br>
- ProtocolClass&nbsp;PingPongProtocol&nbsp;{<br>
- incoming&nbsp;{<br>
- Message&nbsp;ping(data:&nbsp;DemoData)<br>
- Message&nbsp;pingSimple(data:&nbsp;int32)<br>
- }<br>
- outgoing&nbsp;{<br>
- Message&nbsp;pong(data:&nbsp;DemoData)<br>
- Message&nbsp;pongSimple(data:&nbsp;int32)<br>
- }<br>
- }<br>
-
-<br>
- DataClass&nbsp;DemoData&nbsp;{<br>
- Attribute&nbsp;int32Val:&nbsp;int32&nbsp;=&nbsp;"4711"<br>
- Attribute&nbsp;int8Array&nbsp;[&nbsp;10&nbsp;]:&nbsp;int8&nbsp;=&nbsp;"{1,2,3,4,5,6,7,8,9,10}"<br>
- Attribute&nbsp;float64Val:&nbsp;float64&nbsp;=&nbsp;"0.0"<br>
- Attribute&nbsp;stringVal:&nbsp;string&nbsp;=&nbsp;"\"empty\""<br>
- }<br>
-}<br>
-
-</code>
-</p>
-</div>
-<div class="blockquote">
-<blockquote class="blockquote">
-<p></p>
-</blockquote>
-</div>
+<p>The model is finished now and can be found in /org.eclipse.etrice.tutorials/model/SendingData.</p>
</div>
</body>
</html>