Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 2080

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: dox/Common/vtkMultiThreader.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dox/Common/vtkMultiThreader.h File Reference</h1>
<p>
<code>#include &quot;<a class="el" href="a03875.html">vtkObject.h</a>&quot;</code><br>

<p>
<div class="dynheader">
Include dependency graph for vtkMultiThreader.h:</div>
<div class="dynsection">
<p><center><img src="a05696.png" border="0" usemap="#dox/Common/vtkMultiThreader.h_map" alt=""></center>
<map name="dox/Common/vtkMultiThreader.h_map">
<area shape="rect" href="a02079.html" title="vtkObject.h" alt="" coords="619,80,709,107"><area shape="rect" href="a02080.html" title="vtkObjectBase.h" alt="" coords="471,155,593,181"><area shape="rect" href="a02146.html" title="vtkTimeStamp.h" alt="" coords="669,229,789,256"><area shape="rect" href="a02038.html" title="vtkIndent.h" alt="" coords="487,229,577,256"><area shape="rect" href="a02139.html" title="vtkSystemIncludes.h" alt="" coords="541,304,688,331"><area shape="rect" href="a02170.html" title="vtkWin32Header.h" alt="" coords="5,453,141,480"><area shape="rect" href="a02064.html" title="vtkIOStream.h" alt="" coords="257,379,367,405"><area shape="rect" href="a02149.html" title="vtkType.h" alt="" coords="645,453,728,480"><area shape="rect" href="a02085.html" title="vtkOStreamWrapper.h" alt="" coords="441,379,599,405"><area shape="rect" href="a02086.html" title="vtkOStrStreamWrapper.h" alt="" coords="623,379,799,405"></map>
</div>

<p>
<a href="a03873.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01064.html">vtkMultiThreader</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A class for performing multithreaded execution.  <a href="a01064.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01065.html">vtkMultiThreader::ThreadInfo</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02077.html#975272f39ace1821fd3c61acdb0823ed">ThreadInfoStruct</a>&nbsp;&nbsp;&nbsp;<a class="el" href="a01065.html">vtkMultiThreader::ThreadInfo</a></td></tr>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02077.html#1a4a360ecf4efc17d1e2ea057636ec48">vtkThreadFunctionType</a> )(void *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02077.html#7eb266a71ebc6d86a0b1d57d021f0b21">vtkThreadProcessIDType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02077.html#0138e0597dfcd71eb7636901c96e27e4">vtkMultiThreaderIDType</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="975272f39ace1821fd3c61acdb0823ed"></a><!-- doxytag: member="vtkMultiThreader.h::ThreadInfoStruct" ref="975272f39ace1821fd3c61acdb0823ed" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ThreadInfoStruct&nbsp;&nbsp;&nbsp;<a class="el" href="a01065.html">vtkMultiThreader::ThreadInfo</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is the structure that is passed to the thread that is created from the SingleMethodExecute, MultipleMethodExecute or the SpawnThread method. It is passed in as a void *, and it is up to the method to cast correctly and extract the information. The ThreadID is a number between 0 and NumberOfThreads-1 that indicates the id of this thread. The NumberOfThreads is this-&gt;NumberOfThreads for threads created from SingleMethodExecute or MultipleMethodExecute, and it is 1 for threads created from SpawnThread. The UserData is the (void )arg passed into the SetSingleMethod, SetMultipleMethod, or SpawnThread method. 
<p>Definition at line <a class="el" href="a03873.html#l00112">112</a> of file <a class="el" href="a03873.html">vtkMultiThreader.h</a>.</p>

</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="1a4a360ecf4efc17d1e2ea057636ec48"></a><!-- doxytag: member="vtkMultiThreader.h::vtkThreadFunctionType" ref="1a4a360ecf4efc17d1e2ea057636ec48" args=")(void *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* <a class="el" href="a02077.html#1a4a360ecf4efc17d1e2ea057636ec48">vtkThreadFunctionType</a>)(void *)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03873.html#l00082">82</a> of file <a class="el" href="a03873.html">vtkMultiThreader.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7eb266a71ebc6d86a0b1d57d021f0b21"></a><!-- doxytag: member="vtkMultiThreader.h::vtkThreadProcessIDType" ref="7eb266a71ebc6d86a0b1d57d021f0b21" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="a02077.html#7eb266a71ebc6d86a0b1d57d021f0b21">vtkThreadProcessIDType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03873.html#l00083">83</a> of file <a class="el" href="a03873.html">vtkMultiThreader.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0138e0597dfcd71eb7636901c96e27e4"></a><!-- doxytag: member="vtkMultiThreader.h::vtkMultiThreaderIDType" ref="0138e0597dfcd71eb7636901c96e27e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="a02077.html#0138e0597dfcd71eb7636901c96e27e4">vtkMultiThreaderIDType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03873.html#l00086">86</a> of file <a class="el" href="a03873.html">vtkMultiThreader.h</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:37:01 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>