Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 8000

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ITK: itk::ResourceProbesCollectorBase&lt; TProbe &gt; Class Template Reference</title>
<link href="DoxygenStyle.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">


<!--  Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 -->
<center>
<a href="index.html" class="qindex">Main Page</a>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">ResourceProbesCollectorBase</a>
  </div>
<div class="contents">
<h1>itk::ResourceProbesCollectorBase&lt; TProbe &gt; Class Template Reference</h1><!-- doxytag: class="itk::ResourceProbesCollectorBase" -->Class for aggregating a set of probes.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for itk::ResourceProbesCollectorBase&lt; TProbe &gt;:</div>
<div class="dynsection">
<p><center><img src="classitk_1_1ResourceProbesCollectorBase__inherit__graph.png" border="0" usemap="#itk_1_1ResourceProbesCollectorBase_3_01TProbe_01_4__inherit__map" alt="Inheritance graph"></center>
<map name="itk_1_1ResourceProbesCollectorBase_3_01TProbe_01_4__inherit__map">
<area shape="rect" id="node3" href="classitk_1_1ResourceProbesCollectorBase.html" title="itk::ResourceProbesCollectorBase\&lt; MemoryProbe \&gt;" alt="" coords="501,5,877,35"><area shape="rect" id="node7" href="classitk_1_1ResourceProbesCollectorBase.html" title="itk::ResourceProbesCollectorBase\&lt; TimeProbe \&gt;" alt="" coords="512,59,867,88"><area shape="rect" id="node5" href="classitk_1_1MemoryProbesCollectorBase.html" title="Class for aggregating a set of memory probes." alt="" coords="929,5,1172,35"><area shape="rect" id="node9" href="classitk_1_1TimeProbesCollectorBase.html" title="Class for aggregating a set of time probes." alt="" coords="940,59,1161,88"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classitk_1_1ResourceProbesCollectorBase-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#366f8962fa9fdc9afac02a2d68ad8804">IdType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map&lt; <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#366f8962fa9fdc9afac02a2d68ad8804">IdType</a>, TProbe &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#275a5db380f1358415407b5698aa79b7">MapType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#605bd73687bbf924484d51c3dbb209aa">Clear</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#0c7fee7ec0e6ee33cca35bad9b932681">Report</a> (std::ostream &amp;os=std::cout) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#65fbfa4d950db5a1205a695f1cf27754">Start</a> (const char *name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#1d9084708a180959206dafcba18ccace">Stop</a> (const char *name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#2ad69ebae69c45701ce51803768b252b">~ResourceProbesCollectorBase</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#275a5db380f1358415407b5698aa79b7">MapType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#b16d1262da7b33692f84c35e8742454d">m_Probes</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class TProbe&gt;<br>
 class itk::ResourceProbesCollectorBase&lt; TProbe &gt;</h3>

Class for aggregating a set of probes. 
<p>
This class defines a set of ResourceProbes and assign names to them. The user can start and stop each one of the probes by addressing them by name.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classitk_1_1ResourceProbe.html" title="Class for computing the change of a value between two points in the code.">ResourceProbe</a> </dd></dl>

<p>Definition at line <a class="el" href="itkResourceProbesCollectorBase_8h_source.html#l00038">38</a> of file <a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="366f8962fa9fdc9afac02a2d68ad8804"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::IdType" ref="366f8962fa9fdc9afac02a2d68ad8804" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::string <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#366f8962fa9fdc9afac02a2d68ad8804">IdType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkResourceProbesCollectorBase_8h_source.html#l00041">41</a> of file <a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="275a5db380f1358415407b5698aa79b7"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::MapType" ref="275a5db380f1358415407b5698aa79b7" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#366f8962fa9fdc9afac02a2d68ad8804">IdType</a>,TProbe&gt; <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#275a5db380f1358415407b5698aa79b7">MapType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkResourceProbesCollectorBase_8h_source.html#l00042">42</a> of file <a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2ad69ebae69c45701ce51803768b252b"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::~ResourceProbesCollectorBase" ref="2ad69ebae69c45701ce51803768b252b" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::~<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">ResourceProbesCollectorBase</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
destructor 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="605bd73687bbf924484d51c3dbb209aa"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::Clear" ref="605bd73687bbf924484d51c3dbb209aa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::Clear           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destroy the set of probes. New probes can be created after invoking this method. 
</div>
</div><p>
<a class="anchor" name="0c7fee7ec0e6ee33cca35bad9b932681"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::Report" ref="0c7fee7ec0e6ee33cca35bad9b932681" args="(std::ostream &amp;os=std::cout) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::Report           </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em> = <code>std::cout</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Report the summary of results from the probes 
</div>
</div><p>
<a class="anchor" name="65fbfa4d950db5a1205a695f1cf27754"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::Start" ref="65fbfa4d950db5a1205a695f1cf27754" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::Start           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Start a probe with a particular name. If the time probe does not exist, it will be created 
</div>
</div><p>
<a class="anchor" name="1d9084708a180959206dafcba18ccace"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::Stop" ref="1d9084708a180959206dafcba18ccace" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::Stop           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stop a time probe identified with a name 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="b16d1262da7b33692f84c35e8742454d"></a><!-- doxytag: member="itk::ResourceProbesCollectorBase::m_Probes" ref="b16d1262da7b33692f84c35e8742454d" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TProbe&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#275a5db380f1358415407b5698aa79b7">MapType</a> <a class="el" href="classitk_1_1ResourceProbesCollectorBase.html">itk::ResourceProbesCollectorBase</a>&lt; TProbe &gt;::<a class="el" href="classitk_1_1ResourceProbesCollectorBase.html#b16d1262da7b33692f84c35e8742454d">m_Probes</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkResourceProbesCollectorBase_8h_source.html#l00061">61</a> of file <a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkResourceProbesCollectorBase_8h_source.html">itkResourceProbesCollectorBase.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 06:32:13 2009 for ITK  by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img 
src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen"
align="middle" border=0 width=110 height=53>
</a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>