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.

165 lines
14 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::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &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>flow</b></li><li class="navelem"><b>interface7</b></li><li class="navelem"><a class="el" href="a00059.html">function_node</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#pub-types">Public Types</a> &#124;
  42. <a href="#pub-methods">Public Member Functions</a> &#124;
  43. <a href="#pro-methods">Protected Member Functions</a> &#124;
  44. <a href="#friends">Friends</a> &#124;
  45. <a href="a00316.html">List of all members</a> </div>
  46. <div class="headertitle">
  47. <div class="title">tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt; Class Template Reference</div> </div>
  48. </div><!--header-->
  49. <div class="contents">
  50. <p>Implements a function node that supports Input -&gt; Output.
  51. <a href="a00059.html#details">More...</a></p>
  52. <p><code>#include &lt;flow_graph.h&gt;</code></p>
  53. <div class="dynheader">
  54. Inheritance diagram for tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt;:</div>
  55. <div class="dyncontent">
  56. <div class="center">
  57. <img src="a00059.png" usemap="#tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt;_map" alt=""/>
  58. <map id="tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt;_map" name="tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt;_map">
  59. <area href="a00063.html" title="The base of all graph nodes. " alt="tbb::flow::interface7::graph_node" shape="rect" coords="0,56,488,80"/>
  60. </map>
  61. </div></div>
  62. <table class="memberdecls">
  63. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  64. Public Types</h2></td></tr>
  65. <tr class="memitem:a80a44be5965211637cf82c15a6b18261"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80a44be5965211637cf82c15a6b18261"></a>
  66. typedef Input&#160;</td><td class="memItemRight" valign="bottom"><b>input_type</b></td></tr>
  67. <tr class="separator:a80a44be5965211637cf82c15a6b18261"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:a456ce2835b002fe4cf43b36e45056026"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a456ce2835b002fe4cf43b36e45056026"></a>
  69. typedef Output&#160;</td><td class="memItemRight" valign="bottom"><b>output_type</b></td></tr>
  70. <tr class="separator:a456ce2835b002fe4cf43b36e45056026"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:a14d4ca431da0a193f2de72fb96fbcf90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14d4ca431da0a193f2de72fb96fbcf90"></a>
  72. typedef <a class="el" href="a00124.html">sender</a>&lt; input_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>predecessor_type</b></td></tr>
  73. <tr class="separator:a14d4ca431da0a193f2de72fb96fbcf90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:a0c8984b2796d66a6b481b5202b2cbc5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c8984b2796d66a6b481b5202b2cbc5c"></a>
  75. typedef <a class="el" href="a00106.html">receiver</a>&lt; output_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>successor_type</b></td></tr>
  76. <tr class="separator:a0c8984b2796d66a6b481b5202b2cbc5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:ad2af7ca720b0ef772e94ffb4b1eea2e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2af7ca720b0ef772e94ffb4b1eea2e3"></a>
  78. typedef <br class="typebreak"/>
  79. internal::function_input<br class="typebreak"/>
  80. &lt; input_type, output_type, <br class="typebreak"/>
  81. Allocator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>fInput_type</b></td></tr>
  82. <tr class="separator:ad2af7ca720b0ef772e94ffb4b1eea2e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:a04aa2570e3c20a032670b9c47bdaca1b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04aa2570e3c20a032670b9c47bdaca1b"></a>
  84. typedef <br class="typebreak"/>
  85. internal::function_output<br class="typebreak"/>
  86. &lt; output_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>fOutput_type</b></td></tr>
  87. <tr class="separator:a04aa2570e3c20a032670b9c47bdaca1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. </table><table class="memberdecls">
  89. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  90. Public Member Functions</h2></td></tr>
  91. <tr class="memitem:aea86b14a72337b597c80d706ca257402"><td class="memTemplParams" colspan="2"><a class="anchor" id="aea86b14a72337b597c80d706ca257402"></a>
  92. template&lt;typename Body &gt; </td></tr>
  93. <tr class="memitem:aea86b14a72337b597c80d706ca257402"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00059.html#aea86b14a72337b597c80d706ca257402">function_node</a> (<a class="el" href="a00061.html">graph</a> &amp;g, size_t concurrency, Body body)</td></tr>
  94. <tr class="memdesc:aea86b14a72337b597c80d706ca257402"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
  95. <tr class="separator:aea86b14a72337b597c80d706ca257402"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:aecf13ece7b2106f4630e46d6c5327997"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aecf13ece7b2106f4630e46d6c5327997"></a>
  97. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#aecf13ece7b2106f4630e46d6c5327997">function_node</a> (const <a class="el" href="a00059.html">function_node</a> &amp;src)</td></tr>
  98. <tr class="memdesc:aecf13ece7b2106f4630e46d6c5327997"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
  99. <tr class="separator:aecf13ece7b2106f4630e46d6c5327997"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a039f66594d16f9f7dd8bb6879068aafe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a039f66594d16f9f7dd8bb6879068aafe"></a>
  101. void&#160;</td><td class="memItemRight" valign="bottom"><b>set_name</b> (const char *name)</td></tr>
  102. <tr class="separator:a039f66594d16f9f7dd8bb6879068aafe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="inherit_header pub_methods_a00063"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00063')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a00063.html">tbb::flow::interface7::graph_node</a></td></tr>
  104. <tr class="memitem:a4badd313105e30f539882276353dcb8e inherit pub_methods_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4badd313105e30f539882276353dcb8e"></a>
  105. &#160;</td><td class="memItemRight" valign="bottom"><b>graph_node</b> (<a class="el" href="a00061.html">graph</a> &amp;g)</td></tr>
  106. <tr class="separator:a4badd313105e30f539882276353dcb8e inherit pub_methods_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. </table><table class="memberdecls">
  108. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  109. Protected Member Functions</h2></td></tr>
  110. <tr class="memitem:a8c651f8cf4e7a91ec55bd03ec2587e46"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c651f8cf4e7a91ec55bd03ec2587e46"></a>
  111. void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
  112. <tr class="separator:a8c651f8cf4e7a91ec55bd03ec2587e46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:aea5d18bc2ae6c8169cc4b47a67c9eb8c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea5d18bc2ae6c8169cc4b47a67c9eb8c"></a>
  114. <a class="el" href="a00024.html">internal::broadcast_cache</a><br class="typebreak"/>
  115. &lt; output_type &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>successors</b> ()</td></tr>
  116. <tr class="separator:aea5d18bc2ae6c8169cc4b47a67c9eb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table><table class="memberdecls">
  118. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  119. Friends</h2></td></tr>
  120. <tr class="memitem:abaf9bf74ca5f2854d09f5f07337280eb"><td class="memTemplParams" colspan="2"><a class="anchor" id="abaf9bf74ca5f2854d09f5f07337280eb"></a>
  121. template&lt;typename R , typename B &gt; </td></tr>
  122. <tr class="memitem:abaf9bf74ca5f2854d09f5f07337280eb"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>run_and_put_task</b></td></tr>
  123. <tr class="separator:abaf9bf74ca5f2854d09f5f07337280eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a1360e38efe396058978cf3754ad620f5"><td class="memTemplParams" colspan="2"><a class="anchor" id="a1360e38efe396058978cf3754ad620f5"></a>
  125. template&lt;typename X , typename Y &gt; </td></tr>
  126. <tr class="memitem:a1360e38efe396058978cf3754ad620f5"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>internal::broadcast_cache</b></td></tr>
  127. <tr class="separator:a1360e38efe396058978cf3754ad620f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:acbd9ac2610587a99cd7d43344297cc49"><td class="memTemplParams" colspan="2"><a class="anchor" id="acbd9ac2610587a99cd7d43344297cc49"></a>
  129. template&lt;typename X , typename Y &gt; </td></tr>
  130. <tr class="memitem:acbd9ac2610587a99cd7d43344297cc49"><td class="memTemplItemLeft" align="right" valign="top">class&#160;</td><td class="memTemplItemRight" valign="bottom"><b>internal::round_robin_cache</b></td></tr>
  131. <tr class="separator:acbd9ac2610587a99cd7d43344297cc49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. </table><table class="memberdecls">
  133. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  134. Additional Inherited Members</h2></td></tr>
  135. <tr class="inherit_header pro_attribs_a00063"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_a00063')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="a00063.html">tbb::flow::interface7::graph_node</a></td></tr>
  136. <tr class="memitem:a1caee1c5677047b05d18b1662ca6fdf8 inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1caee1c5677047b05d18b1662ca6fdf8"></a>
  137. <a class="el" href="a00061.html">graph</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>my_graph</b></td></tr>
  138. <tr class="separator:a1caee1c5677047b05d18b1662ca6fdf8 inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:af48cd0cd4f6e44efc3b353adb55f86a8 inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af48cd0cd4f6e44efc3b353adb55f86a8"></a>
  140. <a class="el" href="a00063.html">graph_node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
  141. <tr class="separator:af48cd0cd4f6e44efc3b353adb55f86a8 inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a6917bffc3cb150319679bf2395e68caa inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6917bffc3cb150319679bf2395e68caa"></a>
  143. <a class="el" href="a00063.html">graph_node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>prev</b></td></tr>
  144. <tr class="separator:a6917bffc3cb150319679bf2395e68caa inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. </table>
  146. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  147. <div class="textblock"><h3>template&lt;typename Input, typename Output = continue_msg, graph_buffer_policy = queueing, typename Allocator = cache_aligned_allocator&lt;Input&gt;&gt;<br/>
  148. class tbb::flow::interface7::function_node&lt; Input, Output, graph_buffer_policy, Allocator &gt;</h3>
  149. <p>Implements a function node that supports Input -&gt; Output. </p>
  150. </div><hr/>The documentation for this class was generated from the following file:<ul>
  151. <li><a class="el" href="a00179.html">flow_graph.h</a></li>
  152. </ul>
  153. </div><!-- contents -->
  154. <hr>
  155. <p></p>
  156. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  157. <p></p>
  158. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  159. registered trademarks or trademarks of Intel Corporation or its
  160. subsidiaries in the United States and other countries.
  161. <p></p>
  162. * Other names and brands may be claimed as the property of others.