<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <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 rel="previous" href="Monitor_sig.Monitor.Value.html"> <link rel="next" href="Monitor_sig.Monitor.Hashtable.html"> <link rel="Up" href="Monitor_sig.Monitor.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.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="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Binary" rel="Chapter" href="Binary.html"> <link title="Bproto" rel="Chapter" href="Bproto.html"> <link title="Db" rel="Chapter" href="Db.html"> <link title="Graph" rel="Chapter" href="Graph.html"> <link title="Monitor_sig" rel="Chapter" href="Monitor_sig.html"> <link title="Ocamlviz" rel="Chapter" href="Ocamlviz.html"> <link title="Ocamlviz_threads" rel="Chapter" href="Ocamlviz_threads.html"> <link title="Protocol" rel="Chapter" href="Protocol.html"> <link title="Timemap" rel="Chapter" href="Timemap.html"><title>Monitor_sig.Monitor.Tree</title> </head> <body> <div class="navbar"><a href="Monitor_sig.Monitor.Value.html">Previous</a> <a href="Monitor_sig.Monitor.html">Up</a> <a href="Monitor_sig.Monitor.Hashtable.html">Next</a> </div> <center><h1>Module <a href="type_Monitor_sig.Monitor.Tree.html">Monitor_sig.Monitor.Tree</a></h1></center> <br> <pre><span class="keyword">module</span> Tree: <code class="code">sig</code> <a href="Monitor_sig.Monitor.Tree.html">..</a> <code class="code">end</code></pre>A module to monitor OCaml variant types and trees.<br> <hr width="100%"> <pre><span class="keyword">val</span> <a name="VALobserve"></a>observe : <code class="type">?period:int -> string -> (unit -> <a href="Protocol.html#TYPEvariant">Protocol.variant</a>) -> unit</code></pre><div class="info"> <code class="code">observe s f</code> monitors a variant called <code class="code">s</code> given by the function <code class="code">f</code>.<br> </div> </body></html>