paradiseo/trunk/paradiseo-eo/doc/html/classeo_monitor.html
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

99 lines
6.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>EO: eoMonitor Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"> <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>eoMonitor Class Reference</h1>The abstract monitor class is a std::vector of parameter pointers.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_monitor_8h-source.html">eoMonitor.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoMonitor:
<p><center><img src="classeo_monitor.png" usemap="#eoMonitor_map" border="0" alt=""></center>
<map name="eoMonitor_map">
<area href="classeo_f.html" alt="eoF< eoMonitor & >" shape="rect" coords="460,56,634,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="460,0,634,24">
<area href="classeo_file_monitor.html" alt="eoFileMonitor" shape="rect" coords="0,168,174,192">
<area href="classeo_file_snapshot.html" alt="eoFileSnapshot" shape="rect" coords="276,168,450,192">
<area href="classeo_stdout_monitor.html" alt="eoStdoutMonitor" shape="rect" coords="460,168,634,192">
<area href="classeo_timed_monitor.html" alt="eoTimedMonitor" shape="rect" coords="644,168,818,192">
<area href="classeo_gnuplot1_d_monitor.html" alt="eoGnuplot1DMonitor" shape="rect" coords="0,224,174,248">
<area href="classeo_f_d_c_file_snapshot.html" alt="eoFDCFileSnapshot< EOT >" shape="rect" coords="184,224,358,248">
<area href="classeo_gnuplot1_d_snapshot.html" alt="eoGnuplot1DSnapshot" shape="rect" coords="368,224,542,248">
</map>
<a href="classeo_monitor-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="eoMonitor::lastCall"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>lastCall</b> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_monitor.html#a1">add</a> (const <a class="el" href="classeo_param.html">eoParam</a> &amp;_param)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a parameter to the monitor. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoMonitor::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><b>className</b> (void) const </td></tr>
<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="x0" doxytag="eoMonitor::iterator"></a>
typedef std::vector&lt; const <br>
<a class="el" href="classeo_param.html">eoParam</a> * &gt;::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p0" doxytag="eoMonitor::vec"></a>
std::vector&lt; const <a class="el" href="classeo_param.html">eoParam</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>vec</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The abstract monitor class is a std::vector of parameter pointers.
<p>
Use either push_back a pointer or add a reference to a parameter. Derived classes will then implement the <a class="el" href="classeo_f.html#a1">operator()(void)</a> which will stream or pipe the current values of the parameters to wherever you want it streamed or piped to.
<p>
<p>
Definition at line <a class="el" href="eo_monitor_8h-source.html#l00046">46</a> of file <a class="el" href="eo_monitor_8h-source.html">eoMonitor.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a1" doxytag="eoMonitor::add"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void eoMonitor::add </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classeo_param.html">eoParam</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>_param</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Adds a parameter to the monitor.
<p>
It is virtual so you can do some type checking in derived classes if you must.
<p>
Reimplemented in <a class="el" href="classeo_f_d_c_file_snapshot.html#a1">eoFDCFileSnapshot&lt; EOT &gt;</a>, and <a class="el" href="classeo_file_snapshot.html#a9">eoFileSnapshot</a>.
<p>
Definition at line <a class="el" href="eo_monitor_8h-source.html#l00056">56</a> of file <a class="el" href="eo_monitor_8h-source.html">eoMonitor.h</a>.
<p>
Referenced by <a class="el" href="eo_file_snapshot_8h-source.html#l00171">eoFileSnapshot::add()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_monitor_8h-source.html">eoMonitor.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:51 2006 for EO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>