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.

104 lines
7.2 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::combinable&lt; T &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="a00032.html">combinable</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="a00254.html">List of all members</a> </div>
  43. <div class="headertitle">
  44. <div class="title">tbb::combinable&lt; T &gt; Class Template Reference<div class="ingroups"><a class="el" href="a00235.html">Containers</a></div></div> </div>
  45. </div><!--header-->
  46. <div class="contents">
  47. <p>Thread-local storage with optional reduction.
  48. <a href="a00032.html#details">More...</a></p>
  49. <p><code>#include &lt;combinable.h&gt;</code></p>
  50. <table class="memberdecls">
  51. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  52. Public Member Functions</h2></td></tr>
  53. <tr class="memitem:ab3c539d5731faaafd81979b207a4fa1f"><td class="memTemplParams" colspan="2"><a class="anchor" id="ab3c539d5731faaafd81979b207a4fa1f"></a>
  54. template&lt;typename finit &gt; </td></tr>
  55. <tr class="memitem:ab3c539d5731faaafd81979b207a4fa1f"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><b>combinable</b> (finit _finit)</td></tr>
  56. <tr class="separator:ab3c539d5731faaafd81979b207a4fa1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  57. <tr class="memitem:a52f00cf262d768048db72ab73c8f3ca4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52f00cf262d768048db72ab73c8f3ca4"></a>
  58. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a52f00cf262d768048db72ab73c8f3ca4">~combinable</a> ()</td></tr>
  59. <tr class="memdesc:a52f00cf262d768048db72ab73c8f3ca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor <br/></td></tr>
  60. <tr class="separator:a52f00cf262d768048db72ab73c8f3ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  61. <tr class="memitem:a376f44cba71450fc18ccddaad61b76cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a376f44cba71450fc18ccddaad61b76cc"></a>
  62. &#160;</td><td class="memItemRight" valign="bottom"><b>combinable</b> (const <a class="el" href="a00032.html">combinable</a> &amp;other)</td></tr>
  63. <tr class="separator:a376f44cba71450fc18ccddaad61b76cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  64. <tr class="memitem:ab011fbe2f0600900b6e1b9760d82aead"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab011fbe2f0600900b6e1b9760d82aead"></a>
  65. <a class="el" href="a00032.html">combinable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="a00032.html">combinable</a> &amp;other)</td></tr>
  66. <tr class="separator:ab011fbe2f0600900b6e1b9760d82aead"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr class="memitem:a8ecfe80161a59f04ffd9676e79701de6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ecfe80161a59f04ffd9676e79701de6"></a>
  68. void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
  69. <tr class="separator:a8ecfe80161a59f04ffd9676e79701de6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:ae47f982dbd396d225f0f546e60690d42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae47f982dbd396d225f0f546e60690d42"></a>
  71. T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>local</b> ()</td></tr>
  72. <tr class="separator:ae47f982dbd396d225f0f546e60690d42"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a2433d2b3b53b9979d0b3bb2a175abc9b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2433d2b3b53b9979d0b3bb2a175abc9b"></a>
  74. T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>local</b> (bool &amp;exists)</td></tr>
  75. <tr class="separator:a2433d2b3b53b9979d0b3bb2a175abc9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:a3d564f6d480e0c7fe8e756d1de1cf0e2"><td class="memTemplParams" colspan="2"><a class="anchor" id="a3d564f6d480e0c7fe8e756d1de1cf0e2"></a>
  77. template&lt;typename combine_func_t &gt; </td></tr>
  78. <tr class="memitem:a3d564f6d480e0c7fe8e756d1de1cf0e2"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><b>combine</b> (combine_func_t f_combine)</td></tr>
  79. <tr class="separator:a3d564f6d480e0c7fe8e756d1de1cf0e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:aadadee714004d977f0e95a479bfb80ac"><td class="memTemplParams" colspan="2"><a class="anchor" id="aadadee714004d977f0e95a479bfb80ac"></a>
  81. template&lt;typename combine_func_t &gt; </td></tr>
  82. <tr class="memitem:aadadee714004d977f0e95a479bfb80ac"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>combine_each</b> (combine_func_t f_combine)</td></tr>
  83. <tr class="separator:aadadee714004d977f0e95a479bfb80ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  86. <div class="textblock"><h3>template&lt;typename T&gt;<br/>
  87. class tbb::combinable&lt; T &gt;</h3>
  88. <p>Thread-local storage with optional reduction. </p>
  89. </div><hr/>The documentation for this class was generated from the following file:<ul>
  90. <li>combinable.h</li>
  91. </ul>
  92. </div><!-- contents -->
  93. <hr>
  94. <p></p>
  95. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  96. <p></p>
  97. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  98. registered trademarks or trademarks of Intel Corporation or its
  99. subsidiaries in the United States and other countries.
  100. <p></p>
  101. * Other names and brands may be claimed as the property of others.