Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.doc/html/etrice-docse38.html')
-rw-r--r--plugins/org.eclipse.etrice.doc/html/etrice-docse38.html3078
1 files changed, 1539 insertions, 1539 deletions
diff --git a/plugins/org.eclipse.etrice.doc/html/etrice-docse38.html b/plugins/org.eclipse.etrice.doc/html/etrice-docse38.html
index 70a7a3102..67d0eb7d7 100644
--- a/plugins/org.eclipse.etrice.doc/html/etrice-docse38.html
+++ b/plugins/org.eclipse.etrice.doc/html/etrice-docse38.html
@@ -1,1545 +1,1545 @@
-<?xml version="1.0" encoding="iso-8859-1" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
-<html xmlns="http://www.w3.org/1999/xhtml"
->
-<head><title>eTrice Models and Their Relations</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
-<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
-<!-- xhtml,3,next,html -->
-<meta name="src" content="etrice-doc.tex" />
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
+<html xmlns="http://www.w3.org/1999/xhtml"
+>
+<head><title>eTrice Models and Their Relations</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
+<!-- xhtml,3,next,html -->
+<meta name="src" content="etrice-doc.tex" />
<<<<<<< Upstream, based on branch 'master' of ssh://hrentzreich@git.eclipse.org:29418/etrice/org.eclipse.etrice.git
-<meta name="date" content="2013-06-14 00:16:00" />
+<meta name="date" content="2013-06-14 00:16:00" />
=======
-<meta name="date" content="2013-06-14 08:45:00" />
+<meta name="date" content="2013-06-14 08:45:00" />
>>>>>>> 1fbdb27 [doc] fixed problem with colored eTrice in headings
-<link rel="stylesheet" type="text/css" href="etrice-doc.css" />
-</head><body
->
-<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
-href="etrice-docch9.html" >next</a>] [<a
-href="etrice-docse37.html" >prev</a>] [<a
-href="etrice-docse37.html#tailetrice-docse37.html" >prev-tail</a>] [<a
-href="#tailetrice-docse38.html">tail</a>] [<a
+<link rel="stylesheet" type="text/css" href="etrice-doc.css" />
+</head><body
+>
+<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
+href="etrice-docch9.html" >next</a>] [<a
+href="etrice-docse37.html" >prev</a>] [<a
+href="etrice-docse37.html#tailetrice-docse37.html" >prev-tail</a>] [<a
+href="#tailetrice-docse38.html">tail</a>] [<a
<<<<<<< Upstream, based on branch 'master' of ssh://hrentzreich@git.eclipse.org:29418/etrice/org.eclipse.etrice.git
-href="etrice-docch8.html#etrice-docse38.html" >up</a>] </p></div>
-<h3 class="sectionHead"><span class="titlemark">8.2 </span> <a
- id="x48-1250008.2"></a>eTrice Models and Their Relations</h3>
-<!--l. 3--><p class="noindent" >eTrice comprises several models:
-</p>
- <ul class="itemize1">
- <li class="itemize">the ROOM model (*.room) &#8211; defines model classes and the logical structure of the model
- </li>
- <li class="itemize">the Config model (*.config) &#8211; defines configuration values for attributes
- </li>
- <li class="itemize">the Physical model (*.etphys) &#8211; defines the structure and properties of the physical system
- </li>
- <li class="itemize">the Mapping model (*.etmap) &#8211; defines a mapping from logical elements to physical elements</li></ul>
-<!--l. 12--><p class="noindent" >In the following diagram the models and their relations are depicted. The meaning of the arrows is:
-uses/references.
-</p><!--l. 15--><p class="noindent" ><img
-src="images/080-models.jpg" alt="PIC"
- />
-</p><!--l. 17--><p class="noindent" >In the following sections we will describe those models with emphasis of their cross relations.
-</p><!--l. 19--><p class="noindent" >
-</p>
-<h4 class="subsectionHead"><span class="titlemark">8.2.1 </span> <a
- id="x48-1260008.2.1"></a>The ROOM Model</h4>
-<!--l. 21--><p class="noindent" >The ROOM model defines <span id="textcolor52"><span
-class="ec-lmssbx-10">DataClass</span></span>es, <span id="textcolor53"><span
-class="ec-lmssbx-10">ProtocolClass</span></span>es, <span id="textcolor54"><span
-class="ec-lmssbx-10">ActorClass</span></span>es, <span id="textcolor55"><span
-class="ec-lmssbx-10">SubSystemClass</span></span>es and
-<span id="textcolor56"><span
-class="ec-lmssbx-10">LogicalSystem</span></span>s. Thereby the three latter form a hierarchy. The <span id="textcolor57"><span
-class="ec-lmssbx-10">LogicalSystem</span></span> is the top level element of the
-structure. It contains references to <span id="textcolor58"><span
-class="ec-lmssbx-10">SubSystemClass</span></span> elements. The <span id="textcolor59"><span
-class="ec-lmssbx-10">SubSystemClass</span></span> in turn contains
-references to <span id="textcolor60"><span
-class="ec-lmssbx-10">ActorClass</span></span> elements which again contain (recursively) references to <span id="textcolor61"><span
-class="ec-lmssbx-10">ActorClass</span></span> elements. The
-complete structural hierarchy implies a tree which has the <span id="textcolor62"><span
-class="ec-lmssbx-10">LogicalSystem</span></span> as root and where each reference
-stands for a new node with possibly further branches.
-</p><!--l. 29--><p class="noindent" >Let&#8217;s consider a simple example. It doesn&#8217;t implement anything meaningful and completely omits behavioral
-and other aspects.
-</p>
-<!--l. 32--><div class="lstinputlisting">
-<a
- id="x48-126001r1"></a>
-<a
- id="x48-126002"></a>
-<span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126003r1"></a><span
-class="ec-lmss-8x-x-62">1</span></span><span
-class="ec-lmssbx-10x-x-90">RoomModel</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126004r2"></a><span
-class="ec-lmss-8x-x-62">2</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">LogicalSystem</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">Main</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126005r3"></a><span
-class="ec-lmss-8x-x-62">3</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">subA</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">SubA</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126006r4"></a><span
-class="ec-lmss-8x-x-62">4</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">subB</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">SubB</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126007r5"></a><span
-class="ec-lmss-8x-x-62">5</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126008r6"></a><span
-class="ec-lmss-8x-x-62">6</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126009r7"></a><span
-class="ec-lmss-8x-x-62">7</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">SubA</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126010r8"></a><span
-class="ec-lmss-8x-x-62">8</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActA</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126011r9"></a><span
-class="ec-lmss-8x-x-62">9</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actB</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126012r10"></a><span
-class="ec-lmss-8x-x-62">10</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126013r11"></a><span
-class="ec-lmss-8x-x-62">11</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">LogicalThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">dflt</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126014r12"></a><span
-class="ec-lmss-8x-x-62">12</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">LogicalThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126015r13"></a><span
-class="ec-lmss-8x-x-62">13</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actB1</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126016r14"></a><span
-class="ec-lmss-8x-x-62">14</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actC1</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">dflt</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126017r15"></a><span
-class="ec-lmss-8x-x-62">15</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126018r16"></a><span
-class="ec-lmss-8x-x-62">16</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actB2</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126019r17"></a><span
-class="ec-lmss-8x-x-62">17</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126020r18"></a><span
-class="ec-lmss-8x-x-62">18</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126021r19"></a><span
-class="ec-lmss-8x-x-62">19</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">SubB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126022r20"></a><span
-class="ec-lmss-8x-x-62">20</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActA</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126023r21"></a><span
-class="ec-lmss-8x-x-62">21</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actB</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126024r22"></a><span
-class="ec-lmss-8x-x-62">22</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126025r23"></a><span
-class="ec-lmss-8x-x-62">23</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">LogicalThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">dflt</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126026r24"></a><span
-class="ec-lmss-8x-x-62">24</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">LogicalThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126027r25"></a><span
-class="ec-lmss-8x-x-62">25</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126028r26"></a><span
-class="ec-lmss-8x-x-62">26</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126029r27"></a><span
-class="ec-lmss-8x-x-62">27</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126030r28"></a><span
-class="ec-lmss-8x-x-62">28</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActA</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126031r29"></a><span
-class="ec-lmss-8x-x-62">29</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Structure</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126032r30"></a><span
-class="ec-lmss-8x-x-62">30</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attribute</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">int</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126033r31"></a><span
-class="ec-lmss-8x-x-62">31</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actB1</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126034r32"></a><span
-class="ec-lmss-8x-x-62">32</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actB2</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126035r33"></a><span
-class="ec-lmss-8x-x-62">33</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126036r34"></a><span
-class="ec-lmss-8x-x-62">34</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126037r35"></a><span
-class="ec-lmss-8x-x-62">35</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126038r36"></a><span
-class="ec-lmss-8x-x-62">36</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126039r37"></a><span
-class="ec-lmss-8x-x-62">37</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Structure</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126040r38"></a><span
-class="ec-lmss-8x-x-62">38</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attribute</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">int</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126041r39"></a><span
-class="ec-lmss-8x-x-62">39</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actC1</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActC</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126042r40"></a><span
-class="ec-lmss-8x-x-62">40</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">actC2</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActC</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126043r41"></a><span
-class="ec-lmss-8x-x-62">41</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126044r42"></a><span
-class="ec-lmss-8x-x-62">42</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126045r43"></a><span
-class="ec-lmss-8x-x-62">43</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126046r44"></a><span
-class="ec-lmss-8x-x-62">44</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActC</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126047r45"></a><span
-class="ec-lmss-8x-x-62">45</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126048r46"></a><span
-class="ec-lmss-8x-x-62">46</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">PrimitiveType</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">int</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ptInteger</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">int</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">(</span><span
-class="ec-lmtt-9">Integer</span><span
-class="ec-lmtt-9">)</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">default</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">0</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-126049r47"></a><span
-class="ec-lmss-8x-x-62">47</span></span><span
-class="ec-lmtt-9">}</span>
-<br />
- <div class="caption"
-><span class="id">Listing&#x00A0;8.1:
- </span><span
-class="content">ROOM
- example
-
-
- code</span></div><!--tex4ht:label?: x48-1260008.2 -->
-</div>
-<!--l. 34--><p class="noindent" >When a <span id="textcolor63"><span
-class="ec-lmssbx-10">LogicalSystem</span></span> is instantiated then recursively all of the contained referenced elements are
-instantiated as instances of the corresponding class. Thus the instance tree of the above example looks like in
-figure <a
-href="#x48-1260505">8.5<!--tex4ht:ref: fig:instance_tree --></a> (the third line in the white boxes shows some mapping information, see section <a
-href="#x48-1290008.2.4">8.2.4<!--tex4ht:ref: sec:mapping_model --></a> <a
-href="#x48-1290008.2.4">The Mapping
-Model<!--tex4ht:ref: sec:mapping_model --></a>):
-</p>
-<hr class="figure" /><div class="figure"
->
-
-
-<a
- id="x48-1260505"></a><a
- id="x48-12700025"></a><a
- id="x48-12800011"></a><a
- id="x48-12800046"></a><a
- id="x48-12900017"></a>
-
-
-<!--l. 40--><p class="noindent" ><img
-src="images/080-instances.jpg" alt="PIC"
- />
-<br /> </p><div class="caption"
-><span class="id">Figure&#x00A0;8.5: </span><span
-class="content">Instances of a ROOM system</span></div><!--tex4ht:label?: x48-1260505 -->
-
-
-</div><hr class="endfigure" />
-<h4 class="subsectionHead"><span class="titlemark">8.2.2 </span> <a
- id="x48-1270008.2.2"></a>The Config Model</h4>
-<!--l. 47--><p class="noindent" >Once we have the ROOM class model we can configure values using the Config model. This can be done on
-the class level and/or on the instance level. Values defined for class attributes are used for all instances unless
-there is an instance value configured for the same attribute.
-</p>
-<!--l. 51--><div class="lstinputlisting">
-<a
- id="x48-127001r2"></a>
-<a
- id="x48-127002"></a>
-<span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127003r1"></a><span
-class="ec-lmss-8x-x-62">1</span></span><span
-class="ec-lmssbx-10x-x-90">ConfigModel</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127004r2"></a><span
-class="ec-lmss-8x-x-62">2</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127005r3"></a><span
-class="ec-lmss-8x-x-62">3</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">import</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">.*</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">from</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">room</span><span
-class="ec-lmtt-9">-</span><span
-class="ec-lmtt-9">example</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">room</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127006r4"></a><span
-class="ec-lmss-8x-x-62">4</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127007r5"></a><span
-class="ec-lmss-8x-x-62">5</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorClassConfig</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActA</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127008r6"></a><span
-class="ec-lmss-8x-x-62">6</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attr</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127009r7"></a><span
-class="ec-lmss-8x-x-62">7</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127010r8"></a><span
-class="ec-lmss-8x-x-62">8</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127011r9"></a><span
-class="ec-lmss-8x-x-62">9</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorClassConfig</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ActB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127012r10"></a><span
-class="ec-lmss-8x-x-62">10</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attr</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">2</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127013r11"></a><span
-class="ec-lmss-8x-x-62">11</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127014r12"></a><span
-class="ec-lmss-8x-x-62">12</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127015r13"></a><span
-class="ec-lmss-8x-x-62">13</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">Main</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">subA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127016r14"></a><span
-class="ec-lmss-8x-x-62">14</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attr</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">12</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127017r15"></a><span
-class="ec-lmss-8x-x-62">15</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127018r16"></a><span
-class="ec-lmss-8x-x-62">16</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127019r17"></a><span
-class="ec-lmss-8x-x-62">17</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">Main</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">subA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127020r18"></a><span
-class="ec-lmss-8x-x-62">18</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attr</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">13</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127021r19"></a><span
-class="ec-lmss-8x-x-62">19</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127022r20"></a><span
-class="ec-lmss-8x-x-62">20</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127023r21"></a><span
-class="ec-lmss-8x-x-62">21</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">Main</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">subA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actA</span><span
-class="ec-lmtt-9">/</span><span
-class="ec-lmtt-9">actB2</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127024r22"></a><span
-class="ec-lmss-8x-x-62">22</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Attr</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">val</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">14</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127025r23"></a><span
-class="ec-lmss-8x-x-62">23</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-127026r24"></a><span
-class="ec-lmss-8x-x-62">24</span></span><span
-class="ec-lmtt-9">}</span>
-<br />
- <div class="caption"
-><span class="id">Listing&#x00A0;8.2:
- </span><span
-class="content">Config
- example
- code</span></div><!--tex4ht:label?: x48-1270008.2 -->
-</div>
-<!--l. 53--><p class="noindent" >
-</p>
-<h4 class="subsectionHead"><span class="titlemark">8.2.3 </span> <a
- id="x48-1280008.2.3"></a>The Physical Model</h4>
-<!--l. 55--><p class="noindent" >The physical model defines the physical resources onto which the logical system will be deployed. It is
-possible to define runtime classes which (currently) only define the overall execution model of the
-platform.
-</p>
-<!--l. 59--><div class="lstinputlisting">
-<a
- id="x48-128001r3"></a>
-<a
- id="x48-128002"></a>
-<span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128003r1"></a><span
-class="ec-lmss-8x-x-62">1</span></span><span
-class="ec-lmssbx-10x-x-90">PhysicalModel</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">runtimes</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128004r2"></a><span
-class="ec-lmss-8x-x-62">2</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128005r3"></a><span
-class="ec-lmss-8x-x-62">3</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">RuntimeClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">PCRuntime</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128006r4"></a><span
-class="ec-lmss-8x-x-62">4</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">model</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">multiThreaded</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128007r5"></a><span
-class="ec-lmss-8x-x-62">5</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128008r6"></a><span
-class="ec-lmss-8x-x-62">6</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128009r7"></a><span
-class="ec-lmss-8x-x-62">7</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">RuntimeClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">MSP430Runtime</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128010r8"></a><span
-class="ec-lmss-8x-x-62">8</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">model</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">singleThreaded</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128011r9"></a><span
-class="ec-lmss-8x-x-62">9</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128012r10"></a><span
-class="ec-lmss-8x-x-62">10</span></span><span
-class="ec-lmtt-9">}</span>
-<br />
- <div class="caption"
-><span class="id">Listing&#x00A0;8.3:
- </span><span
-class="content">etPhys
- runtime
- definition</span></div><!--tex4ht:label?: x48-1280008.2 -->
-</div>
-<!--l. 61--><p class="noindent" >The <span id="textcolor64"><span
-class="ec-lmssbx-10">PhysicalSystem</span></span> is composed of <span id="textcolor65"><span
-class="ec-lmssbx-10">NodeRef</span></span>erences which are instances of <span id="textcolor66"><span
-class="ec-lmssbx-10">NodeClass</span></span>es. Each <span id="textcolor67"><span
-class="ec-lmssbx-10">NodeClass</span></span>
-is referencing a <span id="textcolor68"><span
-class="ec-lmssbx-10">RuntimeClass</span></span> and is defining <span id="textcolor69"><span
-class="ec-lmssbx-10">Threads</span></span>.
-</p>
-<!--l. 65--><div class="lstinputlisting">
-<a
- id="x48-128013r4"></a>
-<a
- id="x48-128014"></a>
-<span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128015r1"></a><span
-class="ec-lmss-8x-x-62">1</span></span><span
-class="ec-lmssbx-10x-x-90">PhysicalModel</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128016r2"></a><span
-class="ec-lmss-8x-x-62">2</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128017r3"></a><span
-class="ec-lmss-8x-x-62">3</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">import</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">.*</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">from</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">etphys</span><span
-class="ec-lmtt-9">-</span><span
-class="ec-lmtt-9">runtimes</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">etphys</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128018r4"></a><span
-class="ec-lmss-8x-x-62">4</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128019r5"></a><span
-class="ec-lmss-8x-x-62">5</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">PhysicalSystem</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">MainPhys</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128020r6"></a><span
-class="ec-lmss-8x-x-62">6</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">NodeRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">pc1</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">PC_Node</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128021r7"></a><span
-class="ec-lmss-8x-x-62">7</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">NodeRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">pc2</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">PC_Node</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128022r8"></a><span
-class="ec-lmss-8x-x-62">8</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">NodeRef</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">mc</span><span
-class="ec-lmtt-9">:</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">MSP430_Node</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128023r9"></a><span
-class="ec-lmss-8x-x-62">9</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128024r10"></a><span
-class="ec-lmss-8x-x-62">10</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128025r11"></a><span
-class="ec-lmss-8x-x-62">11</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">NodeClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">PC_Node</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128026r12"></a><span
-class="ec-lmss-8x-x-62">12</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">runtime</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">runtimes</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">PCRuntime</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128027r13"></a><span
-class="ec-lmss-8x-x-62">13</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">priomin</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128028r14"></a><span
-class="ec-lmss-8x-x-62">14</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">priomax</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128029r15"></a><span
-class="ec-lmss-8x-x-62">15</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">DefaultThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">thread1</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128030r16"></a><span
-class="ec-lmss-8x-x-62">16</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">execmode</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">blocked</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128031r17"></a><span
-class="ec-lmss-8x-x-62">17</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">prio</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128032r18"></a><span
-class="ec-lmss-8x-x-62">18</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">stacksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1024</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128033r19"></a><span
-class="ec-lmss-8x-x-62">19</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgblocksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">64</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128034r20"></a><span
-class="ec-lmss-8x-x-62">20</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">50</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128035r21"></a><span
-class="ec-lmss-8x-x-62">21</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128036r22"></a><span
-class="ec-lmss-8x-x-62">22</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Thread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">thread2</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128037r23"></a><span
-class="ec-lmss-8x-x-62">23</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">execmode</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">polled</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128038r24"></a><span
-class="ec-lmss-8x-x-62">24</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">interval</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">ms</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128039r25"></a><span
-class="ec-lmss-8x-x-62">25</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">prio</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128040r26"></a><span
-class="ec-lmss-8x-x-62">26</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">stacksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1024</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128041r27"></a><span
-class="ec-lmss-8x-x-62">27</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgblocksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">64</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128042r28"></a><span
-class="ec-lmss-8x-x-62">28</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">50</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128043r29"></a><span
-class="ec-lmss-8x-x-62">29</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128044r30"></a><span
-class="ec-lmss-8x-x-62">30</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128045r31"></a><span
-class="ec-lmss-8x-x-62">31</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128046r32"></a><span
-class="ec-lmss-8x-x-62">32</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">NodeClass</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">MSP430_Node</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128047r33"></a><span
-class="ec-lmss-8x-x-62">33</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">runtime</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">runtimes</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">MSP430Runtime</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128048r34"></a><span
-class="ec-lmss-8x-x-62">34</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">priomin</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">1</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128049r35"></a><span
-class="ec-lmss-8x-x-62">35</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">priomax</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128050r36"></a><span
-class="ec-lmss-8x-x-62">36</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">DefaultThread</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">main</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128051r37"></a><span
-class="ec-lmss-8x-x-62">37</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">execmode</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">polled</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128052r38"></a><span
-class="ec-lmss-8x-x-62">38</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">interval</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">us</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128053r39"></a><span
-class="ec-lmss-8x-x-62">39</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">prio</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">10</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128054r40"></a><span
-class="ec-lmss-8x-x-62">40</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">stacksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">256</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128055r41"></a><span
-class="ec-lmss-8x-x-62">41</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgblocksize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">64</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128056r42"></a><span
-class="ec-lmss-8x-x-62">42</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">=</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">50</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128057r43"></a><span
-class="ec-lmss-8x-x-62">43</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128058r44"></a><span
-class="ec-lmss-8x-x-62">44</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-128059r45"></a><span
-class="ec-lmss-8x-x-62">45</span></span><span
-class="ec-lmtt-9">}</span>
-
-
-<br />
- <div class="caption"
-><span class="id">Listing&#x00A0;8.4:
- </span><span
-class="content">etPhys
- example
- code</span></div><!--tex4ht:label?: x48-1280008.2 -->
-</div>
-<!--l. 67--><p class="noindent" >
-</p>
-<h4 class="subsectionHead"><span class="titlemark">8.2.4 </span> <a
- id="x48-1290008.2.4"></a>The Mapping Model</h4>
-<!--l. 70--><p class="noindent" >The last model finally combines all this information by mapping logical to physical entities.
-</p>
-<!--l. 72--><div class="lstinputlisting">
-<a
- id="x48-129001r5"></a>
-<a
- id="x48-129002"></a>
-<span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129003r1"></a><span
-class="ec-lmss-8x-x-62">1</span></span><span
-class="ec-lmssbx-10x-x-90">MappingModel</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129004r2"></a><span
-class="ec-lmss-8x-x-62">2</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129005r3"></a><span
-class="ec-lmss-8x-x-62">3</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">import</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">.*</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">from</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">etphys</span><span
-class="ec-lmtt-9">-</span><span
-class="ec-lmtt-9">example</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">etphys</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129006r4"></a><span
-class="ec-lmss-8x-x-62">4</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">import</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">test</span><span
-class="ec-lmtt-9">.*</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">from</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">room</span><span
-class="ec-lmtt-9">-</span><span
-class="ec-lmtt-9">example</span><span
-class="ec-lmtt-9">.</span><span
-class="ec-lmtt-9">room</span><span
-class="ec-lmtt-9">"</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129007r5"></a><span
-class="ec-lmss-8x-x-62">5</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129008r6"></a><span
-class="ec-lmss-8x-x-62">6</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">Mapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">Main</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">MainPhys</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129009r7"></a><span
-class="ec-lmss-8x-x-62">7</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">subA</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">pc1</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129010r8"></a><span
-class="ec-lmss-8x-x-62">8</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ThreadMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">dflt</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">thread1</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129011r9"></a><span
-class="ec-lmss-8x-x-62">9</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ThreadMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">thread2</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129012r10"></a><span
-class="ec-lmss-8x-x-62">10</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129013r11"></a><span
-class="ec-lmss-8x-x-62">11</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmssbx-10x-x-90">SubSystemMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">subB</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">mc</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">{</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129014r12"></a><span
-class="ec-lmss-8x-x-62">12</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ThreadMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">dflt</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">main</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129015r13"></a><span
-class="ec-lmss-8x-x-62">13</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">ThreadMapping</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">extra</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">-&#x003E;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">main</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129016r14"></a><span
-class="ec-lmss-8x-x-62">14</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129017r15"></a><span
-class="ec-lmss-8x-x-62">15</span></span><span
-class="ec-lmtt-9">&#x00A0;</span><span
-class="ec-lmtt-9">}</span><span
-class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
- id="x48-129018r16"></a><span
-class="ec-lmss-8x-x-62">16</span></span><span
-class="ec-lmtt-9">}</span>
-<br />
- <div class="caption"
-><span class="id">Listing&#x00A0;8.5:
- </span><span
-class="content">etMap
- example
- code</span></div><!--tex4ht:label?: x48-1290008.2 -->
-</div>
-<!--l. 74--><p class="noindent" >The result of the mapping is also depicted in above tree diagram (figure <a
-href="#x48-1260505">8.5<!--tex4ht:ref: fig:instance_tree --></a>) of the instances. All actor
-instances (the white boxes) are mapped to a node and a thread running on this node (shown as @<span
-class="ec-lmsso-10">node </span>:
-<span
-class="ec-lmsso-10">thread</span>).
-
-
-
-
+href="etrice-docch8.html#etrice-docse38.html" >up</a>] </p></div>
+<h3 class="sectionHead"><span class="titlemark">8.2 </span> <a
+ id="x48-1250008.2"></a>eTrice Models and Their Relations</h3>
+<!--l. 3--><p class="noindent" >eTrice comprises several models:
+</p>
+ <ul class="itemize1">
+ <li class="itemize">the ROOM model (*.room) &#8211; defines model classes and the logical structure of the model
+ </li>
+ <li class="itemize">the Config model (*.config) &#8211; defines configuration values for attributes
+ </li>
+ <li class="itemize">the Physical model (*.etphys) &#8211; defines the structure and properties of the physical system
+ </li>
+ <li class="itemize">the Mapping model (*.etmap) &#8211; defines a mapping from logical elements to physical elements</li></ul>
+<!--l. 12--><p class="noindent" >In the following diagram the models and their relations are depicted. The meaning of the arrows is:
+uses/references.
+</p><!--l. 15--><p class="noindent" ><img
+src="images/080-models.jpg" alt="PIC"
+ />
+</p><!--l. 17--><p class="noindent" >In the following sections we will describe those models with emphasis of their cross relations.
+</p><!--l. 19--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">8.2.1 </span> <a
+ id="x48-1260008.2.1"></a>The ROOM Model</h4>
+<!--l. 21--><p class="noindent" >The ROOM model defines <span id="textcolor52"><span
+class="ec-lmssbx-10">DataClass</span></span>es, <span id="textcolor53"><span
+class="ec-lmssbx-10">ProtocolClass</span></span>es, <span id="textcolor54"><span
+class="ec-lmssbx-10">ActorClass</span></span>es, <span id="textcolor55"><span
+class="ec-lmssbx-10">SubSystemClass</span></span>es and
+<span id="textcolor56"><span
+class="ec-lmssbx-10">LogicalSystem</span></span>s. Thereby the three latter form a hierarchy. The <span id="textcolor57"><span
+class="ec-lmssbx-10">LogicalSystem</span></span> is the top level element of the
+structure. It contains references to <span id="textcolor58"><span
+class="ec-lmssbx-10">SubSystemClass</span></span> elements. The <span id="textcolor59"><span
+class="ec-lmssbx-10">SubSystemClass</span></span> in turn contains
+references to <span id="textcolor60"><span
+class="ec-lmssbx-10">ActorClass</span></span> elements which again contain (recursively) references to <span id="textcolor61"><span
+class="ec-lmssbx-10">ActorClass</span></span> elements. The
+complete structural hierarchy implies a tree which has the <span id="textcolor62"><span
+class="ec-lmssbx-10">LogicalSystem</span></span> as root and where each reference
+stands for a new node with possibly further branches.
+</p><!--l. 29--><p class="noindent" >Let&#8217;s consider a simple example. It doesn&#8217;t implement anything meaningful and completely omits behavioral
+and other aspects.
+</p>
+<!--l. 32--><div class="lstinputlisting">
+<a
+ id="x48-126001r1"></a>
+<a
+ id="x48-126002"></a>
+<span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126003r1"></a><span
+class="ec-lmss-8x-x-62">1</span></span><span
+class="ec-lmssbx-10x-x-90">RoomModel</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126004r2"></a><span
+class="ec-lmss-8x-x-62">2</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">LogicalSystem</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">Main</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126005r3"></a><span
+class="ec-lmss-8x-x-62">3</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">subA</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">SubA</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126006r4"></a><span
+class="ec-lmss-8x-x-62">4</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">subB</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">SubB</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126007r5"></a><span
+class="ec-lmss-8x-x-62">5</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126008r6"></a><span
+class="ec-lmss-8x-x-62">6</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126009r7"></a><span
+class="ec-lmss-8x-x-62">7</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">SubA</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126010r8"></a><span
+class="ec-lmss-8x-x-62">8</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActA</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126011r9"></a><span
+class="ec-lmss-8x-x-62">9</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actB</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126012r10"></a><span
+class="ec-lmss-8x-x-62">10</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126013r11"></a><span
+class="ec-lmss-8x-x-62">11</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">LogicalThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">dflt</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126014r12"></a><span
+class="ec-lmss-8x-x-62">12</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">LogicalThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126015r13"></a><span
+class="ec-lmss-8x-x-62">13</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actB1</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126016r14"></a><span
+class="ec-lmss-8x-x-62">14</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actC1</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">dflt</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126017r15"></a><span
+class="ec-lmss-8x-x-62">15</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126018r16"></a><span
+class="ec-lmss-8x-x-62">16</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actB2</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126019r17"></a><span
+class="ec-lmss-8x-x-62">17</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126020r18"></a><span
+class="ec-lmss-8x-x-62">18</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126021r19"></a><span
+class="ec-lmss-8x-x-62">19</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">SubB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126022r20"></a><span
+class="ec-lmss-8x-x-62">20</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActA</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126023r21"></a><span
+class="ec-lmss-8x-x-62">21</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actB</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126024r22"></a><span
+class="ec-lmss-8x-x-62">22</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126025r23"></a><span
+class="ec-lmss-8x-x-62">23</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">LogicalThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">dflt</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126026r24"></a><span
+class="ec-lmss-8x-x-62">24</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">LogicalThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126027r25"></a><span
+class="ec-lmss-8x-x-62">25</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126028r26"></a><span
+class="ec-lmss-8x-x-62">26</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126029r27"></a><span
+class="ec-lmss-8x-x-62">27</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126030r28"></a><span
+class="ec-lmss-8x-x-62">28</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActA</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126031r29"></a><span
+class="ec-lmss-8x-x-62">29</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Structure</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126032r30"></a><span
+class="ec-lmss-8x-x-62">30</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attribute</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">int</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126033r31"></a><span
+class="ec-lmss-8x-x-62">31</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actB1</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126034r32"></a><span
+class="ec-lmss-8x-x-62">32</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actB2</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126035r33"></a><span
+class="ec-lmss-8x-x-62">33</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126036r34"></a><span
+class="ec-lmss-8x-x-62">34</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126037r35"></a><span
+class="ec-lmss-8x-x-62">35</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126038r36"></a><span
+class="ec-lmss-8x-x-62">36</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126039r37"></a><span
+class="ec-lmss-8x-x-62">37</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Structure</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126040r38"></a><span
+class="ec-lmss-8x-x-62">38</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attribute</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">int</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126041r39"></a><span
+class="ec-lmss-8x-x-62">39</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actC1</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActC</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126042r40"></a><span
+class="ec-lmss-8x-x-62">40</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">actC2</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActC</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126043r41"></a><span
+class="ec-lmss-8x-x-62">41</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126044r42"></a><span
+class="ec-lmss-8x-x-62">42</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126045r43"></a><span
+class="ec-lmss-8x-x-62">43</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126046r44"></a><span
+class="ec-lmss-8x-x-62">44</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActC</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126047r45"></a><span
+class="ec-lmss-8x-x-62">45</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126048r46"></a><span
+class="ec-lmss-8x-x-62">46</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">PrimitiveType</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">int</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ptInteger</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">int</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">(</span><span
+class="ec-lmtt-9">Integer</span><span
+class="ec-lmtt-9">)</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">default</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">0</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-126049r47"></a><span
+class="ec-lmss-8x-x-62">47</span></span><span
+class="ec-lmtt-9">}</span>
+<br />
+ <div class="caption"
+><span class="id">Listing&#x00A0;8.1:
+ </span><span
+class="content">ROOM
+ example
+
+
+ code</span></div><!--tex4ht:label?: x48-1260008.2 -->
+</div>
+<!--l. 34--><p class="noindent" >When a <span id="textcolor63"><span
+class="ec-lmssbx-10">LogicalSystem</span></span> is instantiated then recursively all of the contained referenced elements are
+instantiated as instances of the corresponding class. Thus the instance tree of the above example looks like in
+figure <a
+href="#x48-1260505">8.5<!--tex4ht:ref: fig:instance_tree --></a> (the third line in the white boxes shows some mapping information, see section <a
+href="#x48-1290008.2.4">8.2.4<!--tex4ht:ref: sec:mapping_model --></a> <a
+href="#x48-1290008.2.4">The Mapping
+Model<!--tex4ht:ref: sec:mapping_model --></a>):
+</p>
+<hr class="figure" /><div class="figure"
+>
+
+
+<a
+ id="x48-1260505"></a><a
+ id="x48-12700025"></a><a
+ id="x48-12800011"></a><a
+ id="x48-12800046"></a><a
+ id="x48-12900017"></a>
+
+
+<!--l. 40--><p class="noindent" ><img
+src="images/080-instances.jpg" alt="PIC"
+ />
+<br /> </p><div class="caption"
+><span class="id">Figure&#x00A0;8.5: </span><span
+class="content">Instances of a ROOM system</span></div><!--tex4ht:label?: x48-1260505 -->
+
+
+</div><hr class="endfigure" />
+<h4 class="subsectionHead"><span class="titlemark">8.2.2 </span> <a
+ id="x48-1270008.2.2"></a>The Config Model</h4>
+<!--l. 47--><p class="noindent" >Once we have the ROOM class model we can configure values using the Config model. This can be done on
+the class level and/or on the instance level. Values defined for class attributes are used for all instances unless
+there is an instance value configured for the same attribute.
+</p>
+<!--l. 51--><div class="lstinputlisting">
+<a
+ id="x48-127001r2"></a>
+<a
+ id="x48-127002"></a>
+<span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127003r1"></a><span
+class="ec-lmss-8x-x-62">1</span></span><span
+class="ec-lmssbx-10x-x-90">ConfigModel</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127004r2"></a><span
+class="ec-lmss-8x-x-62">2</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127005r3"></a><span
+class="ec-lmss-8x-x-62">3</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">import</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">.*</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">from</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">room</span><span
+class="ec-lmtt-9">-</span><span
+class="ec-lmtt-9">example</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">room</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127006r4"></a><span
+class="ec-lmss-8x-x-62">4</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127007r5"></a><span
+class="ec-lmss-8x-x-62">5</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorClassConfig</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActA</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127008r6"></a><span
+class="ec-lmss-8x-x-62">6</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attr</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127009r7"></a><span
+class="ec-lmss-8x-x-62">7</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127010r8"></a><span
+class="ec-lmss-8x-x-62">8</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127011r9"></a><span
+class="ec-lmss-8x-x-62">9</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorClassConfig</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ActB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127012r10"></a><span
+class="ec-lmss-8x-x-62">10</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attr</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">2</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127013r11"></a><span
+class="ec-lmss-8x-x-62">11</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127014r12"></a><span
+class="ec-lmss-8x-x-62">12</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127015r13"></a><span
+class="ec-lmss-8x-x-62">13</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">Main</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">subA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127016r14"></a><span
+class="ec-lmss-8x-x-62">14</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attr</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">12</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127017r15"></a><span
+class="ec-lmss-8x-x-62">15</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127018r16"></a><span
+class="ec-lmss-8x-x-62">16</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127019r17"></a><span
+class="ec-lmss-8x-x-62">17</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">Main</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">subA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127020r18"></a><span
+class="ec-lmss-8x-x-62">18</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attr</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">13</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127021r19"></a><span
+class="ec-lmss-8x-x-62">19</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127022r20"></a><span
+class="ec-lmss-8x-x-62">20</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127023r21"></a><span
+class="ec-lmss-8x-x-62">21</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ActorInstanceConfig</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">Main</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">subA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actA</span><span
+class="ec-lmtt-9">/</span><span
+class="ec-lmtt-9">actB2</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127024r22"></a><span
+class="ec-lmss-8x-x-62">22</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Attr</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">val</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">14</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127025r23"></a><span
+class="ec-lmss-8x-x-62">23</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-127026r24"></a><span
+class="ec-lmss-8x-x-62">24</span></span><span
+class="ec-lmtt-9">}</span>
+<br />
+ <div class="caption"
+><span class="id">Listing&#x00A0;8.2:
+ </span><span
+class="content">Config
+ example
+ code</span></div><!--tex4ht:label?: x48-1270008.2 -->
+</div>
+<!--l. 53--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">8.2.3 </span> <a
+ id="x48-1280008.2.3"></a>The Physical Model</h4>
+<!--l. 55--><p class="noindent" >The physical model defines the physical resources onto which the logical system will be deployed. It is
+possible to define runtime classes which (currently) only define the overall execution model of the
+platform.
+</p>
+<!--l. 59--><div class="lstinputlisting">
+<a
+ id="x48-128001r3"></a>
+<a
+ id="x48-128002"></a>
+<span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128003r1"></a><span
+class="ec-lmss-8x-x-62">1</span></span><span
+class="ec-lmssbx-10x-x-90">PhysicalModel</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">runtimes</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128004r2"></a><span
+class="ec-lmss-8x-x-62">2</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128005r3"></a><span
+class="ec-lmss-8x-x-62">3</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">RuntimeClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">PCRuntime</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128006r4"></a><span
+class="ec-lmss-8x-x-62">4</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">model</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">multiThreaded</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128007r5"></a><span
+class="ec-lmss-8x-x-62">5</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128008r6"></a><span
+class="ec-lmss-8x-x-62">6</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128009r7"></a><span
+class="ec-lmss-8x-x-62">7</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">RuntimeClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">MSP430Runtime</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128010r8"></a><span
+class="ec-lmss-8x-x-62">8</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">model</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">singleThreaded</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128011r9"></a><span
+class="ec-lmss-8x-x-62">9</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128012r10"></a><span
+class="ec-lmss-8x-x-62">10</span></span><span
+class="ec-lmtt-9">}</span>
+<br />
+ <div class="caption"
+><span class="id">Listing&#x00A0;8.3:
+ </span><span
+class="content">etPhys
+ runtime
+ definition</span></div><!--tex4ht:label?: x48-1280008.2 -->
+</div>
+<!--l. 61--><p class="noindent" >The <span id="textcolor64"><span
+class="ec-lmssbx-10">PhysicalSystem</span></span> is composed of <span id="textcolor65"><span
+class="ec-lmssbx-10">NodeRef</span></span>erences which are instances of <span id="textcolor66"><span
+class="ec-lmssbx-10">NodeClass</span></span>es. Each <span id="textcolor67"><span
+class="ec-lmssbx-10">NodeClass</span></span>
+is referencing a <span id="textcolor68"><span
+class="ec-lmssbx-10">RuntimeClass</span></span> and is defining <span id="textcolor69"><span
+class="ec-lmssbx-10">Threads</span></span>.
+</p>
+<!--l. 65--><div class="lstinputlisting">
+<a
+ id="x48-128013r4"></a>
+<a
+ id="x48-128014"></a>
+<span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128015r1"></a><span
+class="ec-lmss-8x-x-62">1</span></span><span
+class="ec-lmssbx-10x-x-90">PhysicalModel</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128016r2"></a><span
+class="ec-lmss-8x-x-62">2</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128017r3"></a><span
+class="ec-lmss-8x-x-62">3</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">import</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">.*</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">from</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">etphys</span><span
+class="ec-lmtt-9">-</span><span
+class="ec-lmtt-9">runtimes</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">etphys</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128018r4"></a><span
+class="ec-lmss-8x-x-62">4</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128019r5"></a><span
+class="ec-lmss-8x-x-62">5</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">PhysicalSystem</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">MainPhys</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128020r6"></a><span
+class="ec-lmss-8x-x-62">6</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">NodeRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">pc1</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">PC_Node</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128021r7"></a><span
+class="ec-lmss-8x-x-62">7</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">NodeRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">pc2</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">PC_Node</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128022r8"></a><span
+class="ec-lmss-8x-x-62">8</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">NodeRef</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">mc</span><span
+class="ec-lmtt-9">:</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">MSP430_Node</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128023r9"></a><span
+class="ec-lmss-8x-x-62">9</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128024r10"></a><span
+class="ec-lmss-8x-x-62">10</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128025r11"></a><span
+class="ec-lmss-8x-x-62">11</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">NodeClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">PC_Node</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128026r12"></a><span
+class="ec-lmss-8x-x-62">12</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">runtime</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">runtimes</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">PCRuntime</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128027r13"></a><span
+class="ec-lmss-8x-x-62">13</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">priomin</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128028r14"></a><span
+class="ec-lmss-8x-x-62">14</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">priomax</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128029r15"></a><span
+class="ec-lmss-8x-x-62">15</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">DefaultThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">thread1</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128030r16"></a><span
+class="ec-lmss-8x-x-62">16</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">execmode</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">blocked</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128031r17"></a><span
+class="ec-lmss-8x-x-62">17</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">prio</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128032r18"></a><span
+class="ec-lmss-8x-x-62">18</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">stacksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1024</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128033r19"></a><span
+class="ec-lmss-8x-x-62">19</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgblocksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">64</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128034r20"></a><span
+class="ec-lmss-8x-x-62">20</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">50</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128035r21"></a><span
+class="ec-lmss-8x-x-62">21</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128036r22"></a><span
+class="ec-lmss-8x-x-62">22</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Thread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">thread2</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128037r23"></a><span
+class="ec-lmss-8x-x-62">23</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">execmode</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">polled</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128038r24"></a><span
+class="ec-lmss-8x-x-62">24</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">interval</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">ms</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128039r25"></a><span
+class="ec-lmss-8x-x-62">25</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">prio</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128040r26"></a><span
+class="ec-lmss-8x-x-62">26</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">stacksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1024</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128041r27"></a><span
+class="ec-lmss-8x-x-62">27</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgblocksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">64</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128042r28"></a><span
+class="ec-lmss-8x-x-62">28</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">50</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128043r29"></a><span
+class="ec-lmss-8x-x-62">29</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128044r30"></a><span
+class="ec-lmss-8x-x-62">30</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128045r31"></a><span
+class="ec-lmss-8x-x-62">31</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128046r32"></a><span
+class="ec-lmss-8x-x-62">32</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">NodeClass</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">MSP430_Node</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128047r33"></a><span
+class="ec-lmss-8x-x-62">33</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">runtime</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">runtimes</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">MSP430Runtime</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128048r34"></a><span
+class="ec-lmss-8x-x-62">34</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">priomin</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">1</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128049r35"></a><span
+class="ec-lmss-8x-x-62">35</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">priomax</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128050r36"></a><span
+class="ec-lmss-8x-x-62">36</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">DefaultThread</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">main</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128051r37"></a><span
+class="ec-lmss-8x-x-62">37</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">execmode</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">polled</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128052r38"></a><span
+class="ec-lmss-8x-x-62">38</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">interval</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">us</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128053r39"></a><span
+class="ec-lmss-8x-x-62">39</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">prio</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">10</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128054r40"></a><span
+class="ec-lmss-8x-x-62">40</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">stacksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">256</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128055r41"></a><span
+class="ec-lmss-8x-x-62">41</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgblocksize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">64</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128056r42"></a><span
+class="ec-lmss-8x-x-62">42</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">msgpoolsize</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">=</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">50</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128057r43"></a><span
+class="ec-lmss-8x-x-62">43</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128058r44"></a><span
+class="ec-lmss-8x-x-62">44</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-128059r45"></a><span
+class="ec-lmss-8x-x-62">45</span></span><span
+class="ec-lmtt-9">}</span>
+
+
+<br />
+ <div class="caption"
+><span class="id">Listing&#x00A0;8.4:
+ </span><span
+class="content">etPhys
+ example
+ code</span></div><!--tex4ht:label?: x48-1280008.2 -->
+</div>
+<!--l. 67--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">8.2.4 </span> <a
+ id="x48-1290008.2.4"></a>The Mapping Model</h4>
+<!--l. 70--><p class="noindent" >The last model finally combines all this information by mapping logical to physical entities.
+</p>
+<!--l. 72--><div class="lstinputlisting">
+<a
+ id="x48-129001r5"></a>
+<a
+ id="x48-129002"></a>
+<span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129003r1"></a><span
+class="ec-lmss-8x-x-62">1</span></span><span
+class="ec-lmssbx-10x-x-90">MappingModel</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129004r2"></a><span
+class="ec-lmss-8x-x-62">2</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129005r3"></a><span
+class="ec-lmss-8x-x-62">3</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">import</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">.*</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">from</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">etphys</span><span
+class="ec-lmtt-9">-</span><span
+class="ec-lmtt-9">example</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">etphys</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129006r4"></a><span
+class="ec-lmss-8x-x-62">4</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">import</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">test</span><span
+class="ec-lmtt-9">.*</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">from</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">room</span><span
+class="ec-lmtt-9">-</span><span
+class="ec-lmtt-9">example</span><span
+class="ec-lmtt-9">.</span><span
+class="ec-lmtt-9">room</span><span
+class="ec-lmtt-9">"</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129007r5"></a><span
+class="ec-lmss-8x-x-62">5</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129008r6"></a><span
+class="ec-lmss-8x-x-62">6</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">Mapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">Main</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">MainPhys</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129009r7"></a><span
+class="ec-lmss-8x-x-62">7</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">subA</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">pc1</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129010r8"></a><span
+class="ec-lmss-8x-x-62">8</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ThreadMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">dflt</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">thread1</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129011r9"></a><span
+class="ec-lmss-8x-x-62">9</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ThreadMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">thread2</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129012r10"></a><span
+class="ec-lmss-8x-x-62">10</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129013r11"></a><span
+class="ec-lmss-8x-x-62">11</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmssbx-10x-x-90">SubSystemMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">subB</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">mc</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">{</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129014r12"></a><span
+class="ec-lmss-8x-x-62">12</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ThreadMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">dflt</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">main</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129015r13"></a><span
+class="ec-lmss-8x-x-62">13</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">ThreadMapping</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">extra</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">-&#x003E;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">main</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129016r14"></a><span
+class="ec-lmss-8x-x-62">14</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129017r15"></a><span
+class="ec-lmss-8x-x-62">15</span></span><span
+class="ec-lmtt-9">&#x00A0;</span><span
+class="ec-lmtt-9">}</span><span
+class="ec-lmtt-9">&#x00A0;</span><br /><span class="label"><a
+ id="x48-129018r16"></a><span
+class="ec-lmss-8x-x-62">16</span></span><span
+class="ec-lmtt-9">}</span>
+<br />
+ <div class="caption"
+><span class="id">Listing&#x00A0;8.5:
+ </span><span
+class="content">etMap
+ example
+ code</span></div><!--tex4ht:label?: x48-1290008.2 -->
+</div>
+<!--l. 74--><p class="noindent" >The result of the mapping is also depicted in above tree diagram (figure <a
+href="#x48-1260505">8.5<!--tex4ht:ref: fig:instance_tree --></a>) of the instances. All actor
+instances (the white boxes) are mapped to a node and a thread running on this node (shown as @<span
+class="ec-lmsso-10">node </span>:
+<span
+class="ec-lmsso-10">thread</span>).
+
+
+
+
=======
-href="etrice-docch10.html#etrice-docse38.html" >up</a>] </p></div>
-<h3 class="sectionHead"><span class="titlemark">10.8 </span> <a
- id="x50-7100010.8"></a>Summary</h3>
-<!--l. 182--><p class="noindent" >You are now familiar with all necessary steps to create, build and run an eTrice C model from scratch. You are
-able to create a launch configuration to start the code generator and to perform all necessary settings to
-compile and link the application.
-</p><!--l. 186--><p class="noindent" >The next tutorial provides an exercise to get more familiar with these working steps.
+href="etrice-docch10.html#etrice-docse38.html" >up</a>] </p></div>
+<h3 class="sectionHead"><span class="titlemark">10.8 </span> <a
+ id="x50-7100010.8"></a>Summary</h3>
+<!--l. 182--><p class="noindent" >You are now familiar with all necessary steps to create, build and run an eTrice C model from scratch. You are
+able to create a launch configuration to start the code generator and to perform all necessary settings to
+compile and link the application.
+</p><!--l. 186--><p class="noindent" >The next tutorial provides an exercise to get more familiar with these working steps.
>>>>>>> 1fbdb27 [doc] fixed problem with colored eTrice in headings
-
-
-</p>
-<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
-href="etrice-docch9.html" >next</a>] [<a
-href="etrice-docse37.html" >prev</a>] [<a
-href="etrice-docse37.html#tailetrice-docse37.html" >prev-tail</a>] [<a
-href="etrice-docse38.html" >front</a>] [<a
-href="etrice-docch8.html#etrice-docse38.html" >up</a>] </p></div>
-<!--l. 1--><p class="noindent" ><a
- id="tailetrice-docse38.html"></a> </p>
-</body></html>
+
+
+</p>
+<!--l. 1--><div class="crosslinks"><p class="noindent">[<a
+href="etrice-docch9.html" >next</a>] [<a
+href="etrice-docse37.html" >prev</a>] [<a
+href="etrice-docse37.html#tailetrice-docse37.html" >prev-tail</a>] [<a
+href="etrice-docse38.html" >front</a>] [<a
+href="etrice-docch8.html#etrice-docse38.html" >up</a>] </p></div>
+<!--l. 1--><p class="noindent" ><a
+ id="tailetrice-docse38.html"></a> </p>
+</body></html>

Back to the top