Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 89f94239eeaa7489f19d9bc2210d8a97 > files > 19

ocaml-rtime-devel-0.9.0-2mdv2010.0.i586.rpm

<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Rtime" rel="Chapter" href="Rtime.html"><title>Rtime</title>
</head>
<body>
<code class="code"><span class="keyword">sig</span><br>
&nbsp;&nbsp;<span class="keyword">type</span>&nbsp;time&nbsp;=&nbsp;float<br>
&nbsp;&nbsp;<span class="keyword">type</span>&nbsp;duration&nbsp;=&nbsp;float<br>
&nbsp;&nbsp;<span class="keyword">type</span>&nbsp;t<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;create&nbsp;:&nbsp;?earlier:(<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit)&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;(unit&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.time)&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.t<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;now&nbsp;:&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.time<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;wakeup&nbsp;:&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.duration&nbsp;option<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;progress&nbsp;:&nbsp;?exec:bool&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;unit<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;stamp&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;?stop:<span class="keywordsign">'</span>a&nbsp;<span class="constructor">React</span>.event&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;(<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b)&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b&nbsp;<span class="constructor">React</span>.event<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;stamps&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;?stop:<span class="keywordsign">'</span>a&nbsp;<span class="constructor">React</span>.event&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?start:<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;(<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.time&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b&nbsp;*&nbsp;<span class="constructor">Rtime</span>.time)&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b&nbsp;<span class="constructor">React</span>.event<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;delay_e&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;?stop:<span class="keywordsign">'</span>a&nbsp;<span class="constructor">React</span>.event&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.duration&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b&nbsp;<span class="constructor">React</span>.event&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>b&nbsp;<span class="constructor">React</span>.event<br>
&nbsp;&nbsp;<span class="keyword">val</span>&nbsp;delay_s&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;?eq:(<span class="keywordsign">'</span>a&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;bool)&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;?stop:<span class="keywordsign">'</span>b&nbsp;<span class="constructor">React</span>.event&nbsp;<span class="keywordsign">-&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="constructor">Rtime</span>.t&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Rtime</span>.duration&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="constructor">React</span>.signal&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="keywordsign">'</span>a&nbsp;<span class="constructor">React</span>.signal<br>
<span class="keyword">end</span></code></body></html>