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.

113 lines
5.9 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>tbb::interface6::aggregator_ext&lt; handler_type &gt; Class Template Reference</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. </head><body>
  7. <!-- Generated by Doxygen 1.4.7 -->
  8. <div class="tabs">
  9. <ul>
  10. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  11. <li><a href="modules.html"><span>Modules</span></a></li>
  12. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  13. <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
  14. <li><a href="files.html"><span>Files</span></a></li>
  15. <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  16. </ul></div>
  17. <div class="tabs">
  18. <ul>
  19. <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
  20. <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
  21. <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  22. </ul></div>
  23. <div class="nav">
  24. <a class="el" href="a00428.html">tbb</a>::<b>interface6</b>::<a class="el" href="a00264.html">aggregator_ext</a></div>
  25. <h1>tbb::interface6::aggregator_ext&lt; handler_type &gt; Class Template Reference</h1><!-- doxytag: class="tbb::interface6::aggregator_ext" -->Aggregator base class and expert interface.
  26. <a href="#_details">More...</a>
  27. <p>
  28. <code>#include &lt;aggregator.h&gt;</code>
  29. <p>
  30. <p>Inheritance diagram for tbb::interface6::aggregator_ext&lt; handler_type &gt;:
  31. <p><center><img src="a00264.png" usemap="#tbb::interface6::aggregator_ext< handler_type >_map" border="0" alt=""></center>
  32. <map name="tbb::interface6::aggregator_ext< handler_type >_map">
  33. <area href="a00263.html" alt="tbb::interface6::aggregator" shape="rect" coords="0,56,281,80">
  34. </map>
  35. <a href="a00005.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
  36. <tr><td></td></tr>
  37. <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
  38. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="882115f59b5a15b2f4fc54178ad66cd9"></a><!-- doxytag: member="tbb::interface6::aggregator_ext::aggregator_ext" ref="882115f59b5a15b2f4fc54178ad66cd9" args="(const handler_type &amp;h)" -->
  39. &nbsp;</td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const handler_type &amp;h)</td></tr>
  40. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html#ccd88bf4333dc100ba97da8e2170277d">process</a> (aggregator_operation *op)</td></tr>
  41. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ccd88bf4333dc100ba97da8e2170277d"></a><br></td></tr>
  42. <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
  43. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00264.html#fdd0a9ce522246b9e14ae5e44bc72d31">execute_impl</a> (aggregator_operation &amp;op)</td></tr>
  44. </table>
  45. <hr><a name="_details"></a><h2>Detailed Description</h2>
  46. <h3>template&lt;typename handler_type&gt;<br>
  47. class tbb::interface6::aggregator_ext&lt; handler_type &gt;</h3>
  48. Aggregator base class and expert interface.
  49. <p>
  50. An aggregator for collecting operations coming from multiple sources and executing them serially on a single thread.
  51. <p>
  52. <hr><h2>Member Function Documentation</h2>
  53. <a class="anchor" name="fdd0a9ce522246b9e14ae5e44bc72d31"></a><!-- doxytag: member="tbb::interface6::aggregator_ext::execute_impl" ref="fdd0a9ce522246b9e14ae5e44bc72d31" args="(aggregator_operation &amp;op)" -->
  54. <div class="memitem">
  55. <div class="memproto">
  56. <div class="memtemplate">
  57. template&lt;typename handler_type&gt; </div>
  58. <table class="memname">
  59. <tr>
  60. <td class="memname">void <a class="el" href="a00264.html">tbb::interface6::aggregator_ext</a>&lt; handler_type &gt;::execute_impl </td>
  61. <td>(</td>
  62. <td class="paramtype">aggregator_operation &amp;&nbsp;</td>
  63. <td class="paramname"> <em>op</em> </td>
  64. <td>&nbsp;)&nbsp;</td>
  65. <td width="100%"><code> [inline, protected]</code></td>
  66. </tr>
  67. </table>
  68. </div>
  69. <div class="memdoc">
  70. <p>
  71. Place operation in mailbox, then either handle mailbox or wait for the operation to be completed by a different thread.
  72. </div>
  73. </div><p>
  74. <a class="anchor" name="ccd88bf4333dc100ba97da8e2170277d"></a><!-- doxytag: member="tbb::interface6::aggregator_ext::process" ref="ccd88bf4333dc100ba97da8e2170277d" args="(aggregator_operation *op)" -->
  75. <div class="memitem">
  76. <div class="memproto">
  77. <div class="memtemplate">
  78. template&lt;typename handler_type&gt; </div>
  79. <table class="memname">
  80. <tr>
  81. <td class="memname">void <a class="el" href="a00264.html">tbb::interface6::aggregator_ext</a>&lt; handler_type &gt;::process </td>
  82. <td>(</td>
  83. <td class="paramtype">aggregator_operation *&nbsp;</td>
  84. <td class="paramname"> <em>op</em> </td>
  85. <td>&nbsp;)&nbsp;</td>
  86. <td width="100%"><code> [inline]</code></td>
  87. </tr>
  88. </table>
  89. </div>
  90. <div class="memdoc">
  91. <p>
  92. EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox.
  93. <p>
  94. Details of user-made operations must be handled by user-provided handler
  95. </div>
  96. </div><p>
  97. <hr>The documentation for this class was generated from the following file:<ul>
  98. <li>aggregator.h</ul>
  99. <hr>
  100. <p></p>
  101. Copyright &copy; 2005-2013 Intel Corporation. All Rights Reserved.
  102. <p></p>
  103. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  104. registered trademarks or trademarks of Intel Corporation or its
  105. subsidiaries in the United States and other countries.
  106. <p></p>
  107. * Other names and brands may be claimed as the property of others.