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.

151 lines
7.4 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::interface6::aggregator_ext&lt; handler_type &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"><b>interface6</b></li><li class="navelem"><a class="el" href="a00012.html">aggregator_ext</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="#pro-methods">Protected Member Functions</a> &#124;
  43. <a href="a00351.html">List of all members</a> </div>
  44. <div class="headertitle">
  45. <div class="title">tbb::interface6::aggregator_ext&lt; handler_type &gt; Class Template Reference</div> </div>
  46. </div><!--header-->
  47. <div class="contents">
  48. <p>Aggregator base class and expert interface.
  49. <a href="a00012.html#details">More...</a></p>
  50. <p><code>#include &lt;aggregator.h&gt;</code></p>
  51. <div class="dynheader">
  52. Inheritance diagram for tbb::interface6::aggregator_ext&lt; handler_type &gt;:</div>
  53. <div class="dyncontent">
  54. <div class="center">
  55. <img src="a00012.png" usemap="#tbb::interface6::aggregator_ext&lt; handler_type &gt;_map" alt=""/>
  56. <map id="tbb::interface6::aggregator_ext&lt; handler_type &gt;_map" name="tbb::interface6::aggregator_ext&lt; handler_type &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:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ae120a21264cc1ea0a9cfafaa0634e4"></a>
  63. &#160;</td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const handler_type &amp;h)</td></tr>
  64. <tr class="separator:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  65. <tr class="memitem:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ae55b16ec6af204aa00d6a716fccec9f7">process</a> (<a class="el" href="a00013.html">aggregator_operation</a> *op)</td></tr>
  66. <tr class="memdesc:ae55b16ec6af204aa00d6a716fccec9f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ae55b16ec6af204aa00d6a716fccec9f7">More...</a><br/></td></tr>
  67. <tr class="separator:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. </table><table class="memberdecls">
  69. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  70. Protected Member Functions</h2></td></tr>
  71. <tr class="memitem:ad376e5c31d10e885f33964592aa629d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ad376e5c31d10e885f33964592aa629d4">execute_impl</a> (<a class="el" href="a00013.html">aggregator_operation</a> &amp;op)</td></tr>
  72. <tr class="separator:ad376e5c31d10e885f33964592aa629d4"><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 handler_type&gt;<br/>
  76. class tbb::interface6::aggregator_ext&lt; handler_type &gt;</h3>
  77. <p>Aggregator base class and expert interface. </p>
  78. <p>An aggregator for collecting operations coming from multiple sources and executing them serially on a single thread. </p>
  79. </div><h2 class="groupheader">Member Function Documentation</h2>
  80. <a class="anchor" id="ad376e5c31d10e885f33964592aa629d4"></a>
  81. <div class="memitem">
  82. <div class="memproto">
  83. <div class="memtemplate">
  84. template&lt;typename handler_type&gt; </div>
  85. <table class="mlabels">
  86. <tr>
  87. <td class="mlabels-left">
  88. <table class="memname">
  89. <tr>
  90. <td class="memname">void <a class="el" href="a00012.html">tbb::interface6::aggregator_ext</a>&lt; handler_type &gt;::execute_impl </td>
  91. <td>(</td>
  92. <td class="paramtype"><a class="el" href="a00013.html">aggregator_operation</a> &amp;&#160;</td>
  93. <td class="paramname"><em>op</em>)</td><td></td>
  94. <td></td>
  95. </tr>
  96. </table>
  97. </td>
  98. <td class="mlabels-right">
  99. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
  100. </tr>
  101. </table>
  102. </div><div class="memdoc">
  103. <p>Place operation in mailbox, then either handle mailbox or wait for the operation to be completed by a different thread. </p>
  104. </div>
  105. </div>
  106. <a class="anchor" id="ae55b16ec6af204aa00d6a716fccec9f7"></a>
  107. <div class="memitem">
  108. <div class="memproto">
  109. <div class="memtemplate">
  110. template&lt;typename handler_type&gt; </div>
  111. <table class="mlabels">
  112. <tr>
  113. <td class="mlabels-left">
  114. <table class="memname">
  115. <tr>
  116. <td class="memname">void <a class="el" href="a00012.html">tbb::interface6::aggregator_ext</a>&lt; handler_type &gt;::process </td>
  117. <td>(</td>
  118. <td class="paramtype"><a class="el" href="a00013.html">aggregator_operation</a> *&#160;</td>
  119. <td class="paramname"><em>op</em>)</td><td></td>
  120. <td></td>
  121. </tr>
  122. </table>
  123. </td>
  124. <td class="mlabels-right">
  125. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  126. </tr>
  127. </table>
  128. </div><div class="memdoc">
  129. <p>EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. </p>
  130. <p>Details of user-made operations must be handled by user-provided handler </p>
  131. </div>
  132. </div>
  133. <hr/>The documentation for this class was generated from the following file:<ul>
  134. <li>aggregator.h</li>
  135. </ul>
  136. </div><!-- contents -->
  137. <hr>
  138. <p></p>
  139. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  140. <p></p>
  141. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  142. registered trademarks or trademarks of Intel Corporation or its
  143. subsidiaries in the United States and other countries.
  144. <p></p>
  145. * Other names and brands may be claimed as the property of others.