<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote cite="mid:522DB733.3020002@dfki.de" type="cite">
<table class="moz-email-headers-table" cellpadding="0"
cellspacing="0" border="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>[Rock-dev] Howto get access to properties?</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Thu, 22 Aug 2013 15:41:33 +0200</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Matthias Goldhoorn <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:matthias.goldhoorn@dfki.de"><matthias.goldhoorn@dfki.de></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>rock >> <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:rock-dev@dfki.de">"rock-dev@dfki.de"</a> <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:rock-dev@dfki.de"><rock-dev@dfki.de></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>The new async api should be used for gui's
however how could be an Async Property be readed or written?
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.rock-robotics.org/master/documentation/graphical_user_interface/300_displaying_logfiles.html">http://www.rock-robotics.org/master/documentation/graphical_user_interface/300_displaying_logfiles.html</a>
does not explain it
example
t = some_async_task
p = t.property("a")
failes:
p = 5
</pre>
</blockquote>
Async objects have the same interface like the corresponding sync
ones but the possibility to give a callback if the the method shall
asynchronously be called.<br>
<br>
sync call:<br>
p.write(val) <br>
<br>
async call:<br>
p.write(val) do |result,error|<br>
if error <br>
raise<br>
end<br>
end<br>
<br>
Greets<br>
Alex<br>
<blockquote cite="mid:522DB733.3020002@dfki.de" type="cite">
<pre>
--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-4193
Zentrale: +49 421 178 45-6550
Fax: +49 421 178 45-4150
E-Mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@uni-bremen.de">matthias.goldhoorn@uni-bremen.de</a>
Weitere Informationen: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a>
_______________________________________________
Rock-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-456620
Fax: +49 (0)421 178-454150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:alexander.duda@dfki.de">alexander.duda@dfki.de</a>
Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.dfki.de/robotik">http://www.dfki.de/robotik</a>
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
</pre>
</body>
</html>