⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_plugin_thread_pool_1_1_command_1_1_compare.html

📁 用vc++写的一个简单的线程池的代码
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ThreadPool: PluginThreadPool::Command&lt; T &gt;::Compare Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.7 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="namespaces.html"><span>Namespaces</span></a></li>    <li id="current"><a href="classes.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><div class="nav"><a class="el" href="namespace_plugin_thread_pool.html">PluginThreadPool</a>::<a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>::<a class="el" href="class_plugin_thread_pool_1_1_command_1_1_compare.html">Compare</a></div><h1>PluginThreadPool::Command&lt; T &gt;::Compare Class Reference</h1><!-- doxytag: class="PluginThreadPool::Command::Compare" --><a href="class_plugin_thread_pool_1_1_command_1_1_compare-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_plugin_thread_pool_1_1_command_1_1_compare.html#8990f88878dea6014d95d1cb6dc1fc9e">operator()</a> (const <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>&lt; T &gt; *a1, const <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>&lt; T &gt; *a2) const </td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><h3>template&lt;typename T&gt;<br> class PluginThreadPool::Command&lt; T &gt;::Compare</h3>Function object for use with the priority queue to check the priority of the <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a> object <p><p>Definition at line <a class="el" href="_command_8h-source.html#l00261">261</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<hr><h2>Member Function Documentation</h2><a class="anchor" name="8990f88878dea6014d95d1cb6dc1fc9e"></a><!-- doxytag: member="PluginThreadPool::Command::Compare::operator()" ref="8990f88878dea6014d95d1cb6dc1fc9e" args="(const Command&lt; T &gt; *a1, const Command&lt; T &gt; *a2) const " --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">bool <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::Compare::operator()           </td>          <td>(</td>          <td class="paramtype">const <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>&lt; T &gt; *&nbsp;</td>          <td class="paramname"> <em>a1</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>&lt; T &gt; *&nbsp;</td>          <td class="paramname"> <em>a2</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"> const<code> [inline]</code></td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00265">265</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.</div></div><p><hr>The documentation for this class was generated from the following file:<ul><li>D:/Coding/MMLADC_workarea/MMLADCNewDesign/ThreadPool/<a class="el" href="_command_8h-source.html">Command.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Sun Jan 20 13:16:04 2008 for ThreadPool by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -