You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
5.0 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.4"/>
  7. <title>tbb::parallel_do_feeder&lt; Item &gt; Class Template Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <!-- end header part -->
  16. <!-- Generated by Doxygen 1.8.4 -->
  17. <div id="navrow1" class="tabs">
  18. <ul class="tablist">
  19. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  20. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  21. <li><a href="modules.html"><span>Modules</span></a></li>
  22. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  23. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  24. <li><a href="files.html"><span>Files</span></a></li>
  25. </ul>
  26. </div>
  27. <div id="navrow2" class="tabs2">
  28. <ul class="tablist">
  29. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  30. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  31. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  32. </ul>
  33. </div>
  34. <div id="nav-path" class="navpath">
  35. <ul>
  36. <li class="navelem"><a class="el" href="a00222.html">tbb</a></li><li class="navelem"><a class="el" href="a00087.html">parallel_do_feeder</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#pub-methods">Public Member Functions</a> &#124;
  42. <a href="#friends">Friends</a> &#124;
  43. <a href="a00264.html">List of all members</a> </div>
  44. <div class="headertitle">
  45. <div class="title">tbb::parallel_do_feeder&lt; Item &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  46. </div><!--header-->
  47. <div class="contents">
  48. <p>Class the user supplied algorithm body uses to add new tasks.
  49. <a href="a00087.html#details">More...</a></p>
  50. <p><code>#include &lt;parallel_do.h&gt;</code></p>
  51. <div class="dynheader">
  52. Inheritance diagram for tbb::parallel_do_feeder&lt; Item &gt;:</div>
  53. <div class="dyncontent">
  54. <div class="center">
  55. <img src="a00087.png" usemap="#tbb::parallel_do_feeder&lt; Item &gt;_map" alt=""/>
  56. <map id="tbb::parallel_do_feeder&lt; Item &gt;_map" name="tbb::parallel_do_feeder&lt; Item &gt;_map">
  57. </map>
  58. </div></div>
  59. <table class="memberdecls">
  60. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  61. Public Member Functions</h2></td></tr>
  62. <tr class="memitem:ac095c6b1a32e9c0be010aa32875d7a63"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac095c6b1a32e9c0be010aa32875d7a63"></a>
  63. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00087.html#ac095c6b1a32e9c0be010aa32875d7a63">add</a> (const Item &amp;item)</td></tr>
  64. <tr class="memdesc:ac095c6b1a32e9c0be010aa32875d7a63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a work item to a running parallel_do. <br/></td></tr>
  65. <tr class="separator:ac095c6b1a32e9c0be010aa32875d7a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. </table><table class="memberdecls">
  67. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  68. Friends</h2></td></tr>
  69. <tr class="memitem:ae5c8cc31bc27b79377687e3de76f480e"><td class="memTemplParams" colspan="2"><a class="anchor" id="ae5c8cc31bc27b79377687e3de76f480e"></a>
  70. template&lt;typename Body_ , typename Item_ &gt; </td></tr>
  71. <tr class="memitem:ae5c8cc31bc27b79377687e3de76f480e"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>internal::parallel_do_feeder_impl</b></td></tr>
  72. <tr class="separator:ae5c8cc31bc27b79377687e3de76f480e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. </table>
  74. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  75. <div class="textblock"><h3>template&lt;typename Item&gt;<br/>
  76. class tbb::parallel_do_feeder&lt; Item &gt;</h3>
  77. <p>Class the user supplied algorithm body uses to add new tasks. </p>
  78. <dl class="params"><dt>Parameters</dt><dd>
  79. <table class="params">
  80. <tr><td class="paramname">Item</td><td>Work item type </td></tr>
  81. </table>
  82. </dd>
  83. </dl>
  84. </div><hr/>The documentation for this class was generated from the following file:<ul>
  85. <li>parallel_do.h</li>
  86. </ul>
  87. </div><!-- contents -->
  88. <hr>
  89. <p></p>
  90. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  91. <p></p>
  92. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  93. registered trademarks or trademarks of Intel Corporation or its
  94. subsidiaries in the United States and other countries.
  95. <p></p>
  96. * Other names and brands may be claimed as the property of others.