<trclass="memdesc:a10e0189c6403293c276b72bb1158557e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">constructs the executor with N worker threads <br/></td></tr>
<trclass="memdesc:a81f35d5b0a20ac0646447eb80d97c0aa"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow once <ahref="#a81f35d5b0a20ac0646447eb80d97c0aa">More...</a><br/></td></tr>
<trclass="memdesc:a94b45b69dc247c82c2ada8c90424b172"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow once and invoke a callback upon completion <ahref="#a94b45b69dc247c82c2ada8c90424b172">More...</a><br/></td></tr>
<trclass="memdesc:adca6cd0ce1bd7e6fa2ed2a55c9ae15e6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow for N times <ahref="#adca6cd0ce1bd7e6fa2ed2a55c9ae15e6">More...</a><br/></td></tr>
<trclass="memitem:aff558312e64d19f98f26c91349c317da"><tdclass="memTemplParams" colspan="2">template<typename C > </td></tr>
<trclass="memitem:aff558312e64d19f98f26c91349c317da"><tdclass="memTemplItemLeft" align="right" valign="top"><aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a>< void > </td><tdclass="memTemplItemRight" valign="bottom"><aclass="el" href="classtf_1_1Executor.html#aff558312e64d19f98f26c91349c317da">run_n</a> (<aclass="el" href="classtf_1_1Taskflow.html">Taskflow</a> &taskflow, size_t N, C &&callable)</td></tr>
<trclass="memdesc:aff558312e64d19f98f26c91349c317da"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow for N times and then invokes a callback <ahref="#aff558312e64d19f98f26c91349c317da">More...</a><br/></td></tr>
<trclass="memdesc:a8acf7515e8e8fdda366ace68bcd65aa6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow multiple times until the predicate becomes true and then invokes a callback <ahref="#a8acf7515e8e8fdda366ace68bcd65aa6">More...</a><br/></td></tr>
<trclass="memitem:a85f5cd590d2dbe15d1f2f1f8d920a7e6"><tdclass="memTemplParams" colspan="2">template<typename P , typename C > </td></tr>
<trclass="memitem:a85f5cd590d2dbe15d1f2f1f8d920a7e6"><tdclass="memTemplItemLeft" align="right" valign="top"><aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a>< void > </td><tdclass="memTemplItemRight" valign="bottom"><aclass="el" href="classtf_1_1Executor.html#a85f5cd590d2dbe15d1f2f1f8d920a7e6">run_until</a> (<aclass="el" href="classtf_1_1Taskflow.html">Taskflow</a> &taskflow, P &&pred, C &&callable)</td></tr>
<trclass="memdesc:a85f5cd590d2dbe15d1f2f1f8d920a7e6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">runs the taskflow multiple times until the predicate becomes true and then invokes the callback <ahref="#a85f5cd590d2dbe15d1f2f1f8d920a7e6">More...</a><br/></td></tr>
<trclass="memdesc:ab9aa252f70e9a40020a1e5a89d485b85"><tdclass="mdescLeft"> </td><tdclass="mdescRight">wait for all pending graphs to complete <br/></td></tr>
<trclass="memdesc:a79223c7f32c9d715e725b8d775de2d29"><tdclass="mdescLeft"> </td><tdclass="mdescRight">queries the number of worker threads (can be zero) <ahref="#a79223c7f32c9d715e725b8d775de2d29">More...</a><br/></td></tr>
<trclass="memdesc:a7f43cde72d3e0a17e2d006cbe7a41ff3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">constructs an observer to inspect the activities of worker threads <ahref="#a7f43cde72d3e0a17e2d006cbe7a41ff3">More...</a><br/></td></tr>
<trclass="memdesc:a3ed11b270f0c7fe1c55a81c60d20411f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">removes the associated observer <br/></td></tr>
<p>constructs an observer to inspect the activities of worker threads </p>
<p>Each executor manages at most one observer at a time through <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>. Createing multiple observers will only keep the lastest one.</p>
<tr><tdclass="paramname">Observer</td><td>observer type derived from <aclass="el" href="classtf_1_1ExecutorObserverInterface.html" title="The interface class for creating an executor observer. ">tf::ExecutorObserverInterface</a></td></tr>
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a> object</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
<p>runs the taskflow once and invoke a callback upon completion </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a> object </td></tr>
<tr><tdclass="paramname">callable</td><td>a callable object to be invoked after this run</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a> object </td></tr>
<tr><tdclass="paramname">N</td><td>number of runs</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
<p>runs the taskflow for N times and then invokes a callback </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a></td></tr>
<tr><tdclass="paramname">N</td><td>number of runs </td></tr>
<tr><tdclass="paramname">callable</td><td>a callable object to be invoked after this run</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
<p>runs the taskflow multiple times until the predicate becomes true and then invokes a callback </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a></td></tr>
<tr><tdclass="paramname">pred</td><td>a boolean predicate to return true for stop</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
<p>runs the taskflow multiple times until the predicate becomes true and then invokes the callback </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">taskflow</td><td>a <aclass="el" href="classtf_1_1Taskflow.html" title="the class to create a task dependency graph ">tf::Taskflow</a></td></tr>
<tr><tdclass="paramname">pred</td><td>a boolean predicate to return true for stop </td></tr>
<tr><tdclass="paramname">callable</td><td>a callable object to be invoked after this run</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>a <aclass="elRef" doxygen="/home/tsung-wei/Code/cpp-taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/thread/future.html">std::future</a> to access the execution status of the taskflow </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>