<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="http://oldforge.etsi.org/mantis/css/default.css" />
	<script type="text/javascript"><!--
		if(document.layers) {document.write("<style>td{padding:0px;}<\/style>")}
	// --></script>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma-directive" content="no-cache" />
	<meta http-equiv="Cache-Directive" content="no-cache" />
	<meta http-equiv="Expires" content="Tue, 17 Dec 2024 09:19:05 GMT" />
	<link rel="shortcut icon" href="/mantis/images/favicon.ico" type="image/x-icon" />
	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=text" />	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=id" />	<title>0005485: C++ mapping issues in TRI and TCI specifications (v. 4.1.1) - ETSI's Bug Tracker</title>
<script type="text/javascript" src="/mantis/javascript/min/common.js"></script>
<script type="text/javascript">var loading_lang = "Loading...";</script><script type="text/javascript" src="/mantis/javascript/min/ajax.js"></script>
</head>
<body>
<br /><table class="width100" cellspacing="1"><tr><td class="form-title" colspan="6"><div class="center">ETSI's Bug Tracker - Part 05: TTCN-3 Runtime Interface </div></td></tr><tr><td class="form-title" colspan="6">View Issue Details</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print-category"><td class="print" width="16%">ID</td><td class="print" width="16%">Project</td><td class="print" width="16%">Category</td><td class="print" width="16%">View Status</td><td class="print" width="16%">Date Submitted</td><td class="print" width="16%">Last Update</td></tr><tr class="print"><td class="print">0005485</td><td class="print">Part 05: TTCN-3 Runtime Interface </td><td class="print">Technical</td><td class="print">public</td><td class="print">17-03-2010 11:26</td><td class="print">25-03-2010 10:05</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Reporter</td><td class="print">Andrus Lehtmets</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Assigned To</td><td class="print">Ina Schieferdecker</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Priority</td><td class="print">high</td><td class="print-category">Severity</td><td class="print">major</td><td class="print-category">Reproducibility</td><td class="print">have not tried</td></tr><tr class="print"><td class="print-category">Status</td><td class="print">closed</td><td class="print-category">Resolution</td><td class="print">fixed</td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Platform</td><td class="print"></td><td class="print-category">OS</td><td class="print"></td><td class="print-category">OS Version</td><td class="print"></td></tr><tr class="print"><td class="print-category">Product Version</td><td class="print"></td><td class="print" colspan="4">&#160;</td></tr><tr><td class="print-category">Target Version</td><td class="print">v4.2.1 (published 2010-07)</td><td class="print-category">Fixed in Version</td><td class="print">v4.2.1 (published 2010-07)</td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Clause Reference(s)</td><td class="print" colspan="4">Part 6: TTCN-3 Runtime Interface (TRI); Part 5: TTCN-3 Runtime Interface (TRI) , v. 4.1.1</td></tr><tr class="print"><td class="print-category">Source  (company  - Author)</td><td class="print" colspan="4">Elvior</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Summary</td><td class="print" colspan="5">0005485: C++ mapping issues in TRI and TCI specifications (v. 4.1.1)</td></tr><tr class="print"><td class="print-category">Description</td><td class="print" colspan="5">We have found several issues in C++ mapping for TRI and TCI (TTCN-3 v.4.1.1), see attached document. </td></tr><tr class="print"><td class="print-category">Steps To Reproduce</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Additional Information</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Tags</td><td class="print" colspan="5">No tags attached.</td></tr><tr class="print"><td class="print-category">Relationships</td><td class="print" colspan="5"><table border="0" width="100%" cellpadding="0" cellspacing="1"><tr><td class="print"><span class="nowrap">related to</span>&#160;</td><td class="print">0005489</td><td class="print">closed&#160;</td><td class="print"><span class="nowrap"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></span>&#160;</td><td class="print">Part 06: TTCN-3 Control Interface&#160;</td><td class="print">TCI C++ mapping fixes&#160;</td></tr></table></td></tr><tr class="print"><td class="print-category">Attached Files</td><td class="print" colspan="5"><img src="http://oldforge.etsi.org/mantis/images/fileicons/pdf.gif" alt="pdf" />&#160;CPP_Issues.pdf (93,137) <span class="italic">17-03-2010 11:26</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2339&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CPP_Issues.doc (36,352) <span class="italic">18-03-2010 07:47</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2341&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CPP_Mapping_fixes_for_TRI.doc (33,280) <span class="italic">22-03-2010 14:24</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2343&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CPP_Mapping_fixes_for_TRI_v2.doc (34,816) <span class="italic">23-03-2010 08:49</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2345&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/zip.gif" alt="zip" />&#160;es_20187305v040103.zip (235,926) <span class="italic">25-03-2010 10:04</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2360&amp;type=bug</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr><td class="form-title">Issue History</td></tr><tr class="print-category"><td class="row-category-history">Date Modified</td><td class="row-category-history">Username</td><td class="row-category-history">Field</td><td class="row-category-history">Change</td></tr><tr class="print"><td class="print">17-03-2010 11:26</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">New Issue</td><td class="print"></td></tr><tr class="print"><td class="print">17-03-2010 11:26</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">File Added: CPP_Issues.pdf</td><td class="print"></td></tr><tr class="print"><td class="print">17-03-2010 11:26</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">Clause Reference(s)</td><td class="print"> =&gt; Part 6: TTCN-3 Runtime Interface (TRI); Part 5: TTCN-3 Runtime Interface (TRI) , v. 4.1.1</td></tr><tr class="print"><td class="print">17-03-2010 11:26</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">Source  (company  - Author)</td><td class="print"> =&gt; Elvior</td></tr><tr class="print"><td class="print">18-03-2010 07:47</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">File Added: CPP_Issues.doc</td><td class="print"></td></tr><tr class="print"><td class="print">22-03-2010 14:24</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">File Added: CPP_Mapping_fixes_for_TRI.doc</td><td class="print"></td></tr><tr class="print"><td class="print">22-03-2010 14:26</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">Note Added: 0009242</td><td class="print"></td></tr><tr class="print"><td class="print">22-03-2010 14:56</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Project</td><td class="print">TTCN-3 Change Requests =&gt; Part 05: TTCN-3 Runtime Interface </td></tr><tr class="print"><td class="print">22-03-2010 14:56</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Relationship added</td><td class="print">related to 0005489</td></tr><tr class="print"><td class="print">22-03-2010 15:59</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=556">Raul Alfonso</a></td><td class="print">Note Added: 0009243</td><td class="print"></td></tr><tr class="print"><td class="print">22-03-2010 16:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Assigned To</td><td class="print"> =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">22-03-2010 16:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Priority</td><td class="print">normal =&gt; high</td></tr><tr class="print"><td class="print">22-03-2010 16:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Status</td><td class="print">new =&gt; assigned</td></tr><tr class="print"><td class="print">22-03-2010 16:20</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Target Version</td><td class="print"> =&gt; Edition 4.2.1 (not yet published)</td></tr><tr class="print"><td class="print">23-03-2010 08:49</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">File Added: CPP_Mapping_fixes_for_TRI_v2.doc</td><td class="print"></td></tr><tr class="print"><td class="print">23-03-2010 08:56</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a></td><td class="print">Note Added: 0009249</td><td class="print"></td></tr><tr class="print"><td class="print">23-03-2010 16:22</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=556">Raul Alfonso</a></td><td class="print">Note Added: 0009269</td><td class="print"></td></tr><tr class="print"><td class="print">24-03-2010 16:37</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0009288</td><td class="print"></td></tr><tr class="print"><td class="print">24-03-2010 17:24</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Edited: 0009288</td><td class="print"></td></tr><tr class="print"><td class="print">24-03-2010 17:25</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_20187305v040103.zip</td><td class="print"></td></tr><tr class="print"><td class="print">24-03-2010 17:25</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Assigned To</td><td class="print">Ina Schieferdecker =&gt; Gyorgy Rethy</td></tr><tr class="print"><td class="print">24-03-2010 17:25</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">assigned =&gt; resolved</td></tr><tr class="print"><td class="print">24-03-2010 17:25</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Resolution</td><td class="print">open =&gt; fixed</td></tr><tr class="print"><td class="print">24-03-2010 17:25</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Fixed in Version</td><td class="print"> =&gt; Edition 4.2.1 (not yet published)</td></tr><tr class="print"><td class="print">24-03-2010 17:29</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Assigned To</td><td class="print">Gyorgy Rethy =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">24-03-2010 17:29</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Status</td><td class="print">resolved =&gt; assigned</td></tr><tr class="print"><td class="print">25-03-2010 09:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Deleted: es_20187305v040103.zip</td><td class="print"></td></tr><tr class="print"><td class="print">25-03-2010 09:55</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_20187305v040103.zip</td><td class="print"></td></tr><tr class="print"><td class="print">25-03-2010 10:03</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Deleted: es_20187305v040103.zip</td><td class="print"></td></tr><tr class="print"><td class="print">25-03-2010 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: es_20187305v040103.zip</td><td class="print"></td></tr><tr class="print"><td class="print">25-03-2010 10:04</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">assigned =&gt; resolved</td></tr><tr class="print"><td class="print">25-03-2010 10:05</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">resolved =&gt; closed</td></tr></table>
<br />
<table class="width100" cellspacing="1">
<tr>
	<td class="form-title" colspan="2">
		Notes	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009242)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				22-03-2010 14:26&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				CPP_Mapping_fixes_for_TRI.doc contains fixes with refers to existing chapters v.4.2.1 draft.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009243)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=556">Raul Alfonso</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				22-03-2010 15:59&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				MTP is disagreed with the points 2.6 (TriDataFactory) and 2.8.3 (remove getTId methods).<br />
<br />
2.6.- We think TriDataFactory is not necessary and we don't understand how we have to use it.<br />
<br />
2.8.3.- Document <br />
&#160;&#160;virtual const Tinteger getTId() const =0<br />
but not remove.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009249)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=509">Andrus Lehtmets</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				23-03-2010 08:56&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Uploaded new version of document.<br />
2.3 virtual const Tinteger getTId() const =0 - my mistake added description of the method<br />
<br />
2.6.TriDataFactory <br />
We still want it, because it makes it possible to have vendor implementation independent object instantiation.<br />
How to use it? Here are some examples:<br />
<br />
A static TriDataFactory factory instance can be accessed by using the standard &quot;TriDataFactory&quot; identifier:<br />
Java:<br />
TriDataFactory.getInstance()<br />
<br />
C++:<br />
TriDataFactory::getInstance()<br />
<br />
The vendor specific TRI object implementation instances can ge created using the stadard methods:<br />
<br />
Java:<br />
TriDataFactory.getInstance().createTriMessage();<br />
<br />
C++:<br />
TriDataFactory::getInstance().createTriMessage();			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009269)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=556">Raul Alfonso</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				23-03-2010 16:22&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				We don't understand which entity of TTCN3 test system take the responsability to implement TriDataFactory. For example, in the TriCommunicationTE could be a method to get the instance of TriDataFactory, so the TE (and tool vendor) has to implement the TriDataFactory (as TciType, newInstance method and getTypeForName method of CD-Required).<br />
TciType, newInstance and getTypeForName has a formal specification so there is a mapping in C, Java, C++ ..., but TriDataFactory doesn't have that specification and we don't understand what is mapping.			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009288)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				24-03-2010 16:37&#160;&#160;&#160;
				<br />(edited on:&#32;24-03-2010 17:24)			</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				The STF discussed that the TriDataFactory is as such not part of the TRI interface. It is not to be included.<br />
<br />
The other things implemented as proposed.<br />
<br />
In addition, equals changed to operator== as it is done in the TCI mapping.<br />
<br />
TriParameterPassingMode, TriStatus defined as enum.<br />
<br />
According to 2.8 also removed<br />
virtual const std::vector&lt; const TriParameter * &gt; &amp; getParameters () const =0;<br />
virtual const std::vector&lt; const TriPortId * &gt; &amp; getPortIds () const =0;<br />
<br />
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
