Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: acbcbff76c470bcdac652da8798e57e82acb0c2d (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                         
                                                               
                                                          
                                                                                












































                                                                                                                                                                                                                                                  
                                                                                         


















                                                                                                           
                                               



                                                             
                                                      











                                                                                                                                            
                                                      



                                                             
                                                             











                                                                                                                                                
                                                          



                                                             
                                                                 










                                                 
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Layering</title>
<link href="book.css" rel="stylesheet" type="text/css">
<meta content="DocBook XSL Stylesheets V1.75.1" name="generator">
<link rel="home" href="index.html" title="eTrice User Guide">
<link rel="up" href="ROOMConcepts.html" title="ROOM Concepts">
<link rel="prev" href="DataClass.html" title="DataClass">
<link rel="next" href="FiniteStateMachines.html" title="Finite State Machines">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Layering</h1>
<div class="section" title="Layering">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="Layering2"></a>Layering</h2>
</div>
</div>
</div>
<div class="section" title="Description">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="Description5"></a>Description</h3>
</div>
</div>
</div>
<p>In addition to the Actor containment hierarchies, Layering provides another method to hierarchically structure a software system. Layering and actor hierarchies with port to port connections can be mixed on every level of granularity.</p>
<div class="orderedlist">
<ol class="orderedlist" type="1">
<li class="listitem">
<p>an ActorClass can define a Service Provision Point (SPP) to publish a specific service, defined by a ProtocolClass</p>
</li>
<li class="listitem">
<p>an ActorClass can define a Service Access Point (SAP) if it needs a service, defined by a ProtocolClass</p>
</li>
<li class="listitem">
<p>for a given Actor hierarchy, a LayerConnection defines which SAP will be satisfied by (connected to) which SPP</p>
</li>
</ol>
</div>
</div>
<div class="section" title="Notation">
<div class="titlepage">
<div>
<div>
<h3 class="title">
<a name="Notation5"></a>Notation</h3>
</div>
</div>
</div>
<table title="Title" frame="box" border="2" cellpadding="3" cellspacing="0" id="N10F69">
<tr>
							
<td align="center">
					<span class="bold"><strong>Description</strong></span></td>
							<td align="center">
					<span class="bold"><strong>Graphical Notation</strong></span></td>
							<td align="center">
					<span class="bold"><strong>Textual Notation</strong></span></td>
						
</tr>
<tr>
							
<td>The Layer Connections in this model define which services are provided by the 
					<span class="emphasis"><em>ServiceLayer</em></span>  (
					<span class="emphasis"><em>digitalIO</em></span> and 
					<span class="emphasis"><em>timer</em></span>)</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringModel.png"></div>
</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringModelTextual.png"></div>
</td>
						
</tr>
<tr>
							
<td>The implementation of the services (SPPs) can be delegated to sub actors. In this case the actor 
					<span class="emphasis"><em>ServiceLayer</em></span> relays (delegates) the implementation services 
					<span class="emphasis"><em>digitalIO</em></span> and 
					<span class="emphasis"><em>timer</em></span> to sub actors</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringServiceLayer.png"></div>
</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringServiceLayerTextual.png"></div>
</td>
						
</tr>
<tr>
							
<td>Every Actor inside the 
					<span class="emphasis"><em>ApplicationLayer</em></span> that contains an SAP with the same Protocol as 
					<span class="emphasis"><em>timer</em></span> or 
					<span class="emphasis"><em>digitalIO</em></span> will be connected to the specified SPP</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringApplicationLayer.png"></div>
</td>
							<td>
					
<div class="mediaobject">
<img src="images/040-LayeringApplicationLayerTextual.png"></div>
</td>
						
</tr>
</table>
<p>
				
</p>
</div>
</div>
</body>
</html>

Back to the top