Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: feb52d27a0e60401448c847a83998c5c362b0411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Summary</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="TutorialSendingData.html" title="Tutorial Sending Data">
<link rel="prev" href="Generateandrunthemodel.html" title="Generate and run the model">
<link rel="next" href="ROOMConcepts.html" title="ROOM Concepts">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Summary</h1>
<div class="section" title="Summary">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="Summary3"></a>Summary</h2>
</div>
</div>
</div>
<p>Within the first loop a integer value will be incremented from 
				[<span class="citation">MrPong</span>] and sent back to 
				[<span class="citation">MrPing</span>]. Is long as the guard is true 
				[<span class="citation">MrPing</span>] sends back the value.
			</p>
<p>Within the 
				[<span class="citation">next</span>] transition, 
				[<span class="citation">MrPing</span>] creates a data class and sends the default values. Than 
				[<span class="citation">MrPing</span>] changes the values and sends the class again. At this point you should note that during the send operation, a copy of the data class will be created and sent. Otherwise it would not be possible to send the same object two times, even more it would not be possible to send a stack object at all. 
				In later versions of eTrice a additional mechanism to send references will be implemented. However, keep in mind that sending references takes the responsibility of the life cycle of the sent object to the user. It looks simple but is a very common source of failures.  
			</p>
</div>
</body>
</html>

Back to the top