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.

170 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, queueing, 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="a00060.html">function_node< Input, Output, queueing, Allocator ></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="a00317.html">List of all members</a> </div>
  46. <div class="headertitle">
  47. <div class="title">tbb::flow::interface7::function_node&lt; Input, Output, queueing, 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="a00060.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, queueing, Allocator &gt;:</div>
  55. <div class="dyncontent">
  56. <div class="center">
  57. <img src="a00060.png" usemap="#tbb::flow::interface7::function_node&lt; Input, Output, queueing, Allocator &gt;_map" alt=""/>
  58. <map id="tbb::flow::interface7::function_node&lt; Input, Output, queueing, Allocator &gt;_map" name="tbb::flow::interface7::function_node&lt; Input, Output, queueing, 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,424,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:acdcddca4c1ec05894f64e7d8d2c17f9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdcddca4c1ec05894f64e7d8d2c17f9a"></a>
  66. typedef Input&#160;</td><td class="memItemRight" valign="bottom"><b>input_type</b></td></tr>
  67. <tr class="separator:acdcddca4c1ec05894f64e7d8d2c17f9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:aa4242bb1c87980cb82a2f7f5e3ac74bb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4242bb1c87980cb82a2f7f5e3ac74bb"></a>
  69. typedef Output&#160;</td><td class="memItemRight" valign="bottom"><b>output_type</b></td></tr>
  70. <tr class="separator:aa4242bb1c87980cb82a2f7f5e3ac74bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:ae23adda079c986676f6fc0f00f8e04e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae23adda079c986676f6fc0f00f8e04e7"></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:ae23adda079c986676f6fc0f00f8e04e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:af3808ea4c85d7d70487c8d7174e3acf4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3808ea4c85d7d70487c8d7174e3acf4"></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:af3808ea4c85d7d70487c8d7174e3acf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:a21eeb62c7634bd8f63f6ae230f04e8e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21eeb62c7634bd8f63f6ae230f04e8e3"></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:a21eeb62c7634bd8f63f6ae230f04e8e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  83. <tr class="memitem:aa22b20ae640ffd8cf698ac0a0b64443b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa22b20ae640ffd8cf698ac0a0b64443b"></a>
  84. typedef <br class="typebreak"/>
  85. internal::function_input_queue<br class="typebreak"/>
  86. &lt; input_type, Allocator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>queue_type</b></td></tr>
  87. <tr class="separator:aa22b20ae640ffd8cf698ac0a0b64443b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:aa786e1923ed0e5568299e06b7f1c420a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa786e1923ed0e5568299e06b7f1c420a"></a>
  89. typedef <br class="typebreak"/>
  90. internal::function_output<br class="typebreak"/>
  91. &lt; output_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>fOutput_type</b></td></tr>
  92. <tr class="separator:aa786e1923ed0e5568299e06b7f1c420a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. </table><table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  95. Public Member Functions</h2></td></tr>
  96. <tr class="memitem:a1b0413b2ec13a9d2ee22dfeb6555a616"><td class="memTemplParams" colspan="2"><a class="anchor" id="a1b0413b2ec13a9d2ee22dfeb6555a616"></a>
  97. template&lt;typename Body &gt; </td></tr>
  98. <tr class="memitem:a1b0413b2ec13a9d2ee22dfeb6555a616"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00060.html#a1b0413b2ec13a9d2ee22dfeb6555a616">function_node</a> (<a class="el" href="a00061.html">graph</a> &amp;g, size_t concurrency, Body body)</td></tr>
  99. <tr class="memdesc:a1b0413b2ec13a9d2ee22dfeb6555a616"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
  100. <tr class="separator:a1b0413b2ec13a9d2ee22dfeb6555a616"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:ad1cb832fe1edee0b0d75e569b62c9c1c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1cb832fe1edee0b0d75e569b62c9c1c"></a>
  102. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00060.html#ad1cb832fe1edee0b0d75e569b62c9c1c">function_node</a> (const <a class="el" href="a00059.html">function_node</a> &amp;src)</td></tr>
  103. <tr class="memdesc:ad1cb832fe1edee0b0d75e569b62c9c1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
  104. <tr class="separator:ad1cb832fe1edee0b0d75e569b62c9c1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a47c62a22a5cad55624af0cdd4f011385"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47c62a22a5cad55624af0cdd4f011385"></a>
  106. void&#160;</td><td class="memItemRight" valign="bottom"><b>set_name</b> (const char *name)</td></tr>
  107. <tr class="separator:a47c62a22a5cad55624af0cdd4f011385"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <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>
  109. <tr class="memitem:a4badd313105e30f539882276353dcb8e inherit pub_methods_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4badd313105e30f539882276353dcb8e"></a>
  110. &#160;</td><td class="memItemRight" valign="bottom"><b>graph_node</b> (<a class="el" href="a00061.html">graph</a> &amp;g)</td></tr>
  111. <tr class="separator:a4badd313105e30f539882276353dcb8e inherit pub_methods_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. </table><table class="memberdecls">
  113. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  114. Protected Member Functions</h2></td></tr>
  115. <tr class="memitem:a8158a42110904fc696385fe1862a23dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8158a42110904fc696385fe1862a23dd"></a>
  116. void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
  117. <tr class="separator:a8158a42110904fc696385fe1862a23dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:ae92927bb4825111e7295f1f54d806b26"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae92927bb4825111e7295f1f54d806b26"></a>
  119. <a class="el" href="a00024.html">internal::broadcast_cache</a><br class="typebreak"/>
  120. &lt; output_type &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>successors</b> ()</td></tr>
  121. <tr class="separator:ae92927bb4825111e7295f1f54d806b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. </table><table class="memberdecls">
  123. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  124. Friends</h2></td></tr>
  125. <tr class="memitem:abaf9bf74ca5f2854d09f5f07337280eb"><td class="memTemplParams" colspan="2"><a class="anchor" id="abaf9bf74ca5f2854d09f5f07337280eb"></a>
  126. template&lt;typename R , typename B &gt; </td></tr>
  127. <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>
  128. <tr class="separator:abaf9bf74ca5f2854d09f5f07337280eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a1360e38efe396058978cf3754ad620f5"><td class="memTemplParams" colspan="2"><a class="anchor" id="a1360e38efe396058978cf3754ad620f5"></a>
  130. template&lt;typename X , typename Y &gt; </td></tr>
  131. <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>
  132. <tr class="separator:a1360e38efe396058978cf3754ad620f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:acbd9ac2610587a99cd7d43344297cc49"><td class="memTemplParams" colspan="2"><a class="anchor" id="acbd9ac2610587a99cd7d43344297cc49"></a>
  134. template&lt;typename X , typename Y &gt; </td></tr>
  135. <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>
  136. <tr class="separator:acbd9ac2610587a99cd7d43344297cc49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. </table><table class="memberdecls">
  138. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  139. Additional Inherited Members</h2></td></tr>
  140. <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>
  141. <tr class="memitem:a1caee1c5677047b05d18b1662ca6fdf8 inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1caee1c5677047b05d18b1662ca6fdf8"></a>
  142. <a class="el" href="a00061.html">graph</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>my_graph</b></td></tr>
  143. <tr class="separator:a1caee1c5677047b05d18b1662ca6fdf8 inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:af48cd0cd4f6e44efc3b353adb55f86a8 inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af48cd0cd4f6e44efc3b353adb55f86a8"></a>
  145. <a class="el" href="a00063.html">graph_node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
  146. <tr class="separator:af48cd0cd4f6e44efc3b353adb55f86a8 inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a6917bffc3cb150319679bf2395e68caa inherit pro_attribs_a00063"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6917bffc3cb150319679bf2395e68caa"></a>
  148. <a class="el" href="a00063.html">graph_node</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>prev</b></td></tr>
  149. <tr class="separator:a6917bffc3cb150319679bf2395e68caa inherit pro_attribs_a00063"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. </table>
  151. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  152. <div class="textblock"><h3>template&lt;typename Input, typename Output, typename Allocator&gt;<br/>
  153. class tbb::flow::interface7::function_node&lt; Input, Output, queueing, Allocator &gt;</h3>
  154. <p>Implements a function node that supports Input -&gt; Output. </p>
  155. </div><hr/>The documentation for this class was generated from the following file:<ul>
  156. <li><a class="el" href="a00179.html">flow_graph.h</a></li>
  157. </ul>
  158. </div><!-- contents -->
  159. <hr>
  160. <p></p>
  161. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  162. <p></p>
  163. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  164. registered trademarks or trademarks of Intel Corporation or its
  165. subsidiaries in the United States and other countries.
  166. <p></p>
  167. * Other names and brands may be claimed as the property of others.