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

📄 class_plugin_thread_pool_1_1_command.html

📁 用vc++写的一个简单的线程池的代码
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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;::operator&lt;           </td>          <td>(</td>          <td class="paramtype">const <a class="el" href="class_plugin_thread_pool_1_1_command.html">Command</a>&lt; T &gt; &amp;&nbsp;</td>          <td class="paramname"> <em>a</em>          </td>          <td>&nbsp;)&nbsp;</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#l00230">230</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>References <a class="el" href="_command_8h-source.html#l00150">PluginThreadPool::Command&lt; T &gt;::m_value</a>.</div></div><p><a class="anchor" name="fddd2bd375dcf04591dd54a690ac8525"></a><!-- doxytag: member="PluginThreadPool::Command::RSHash" ref="fddd2bd375dcf04591dd54a690ac8525" args="(const std::string &amp;str)" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">unsigned int <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::RSHash           </td>          <td>(</td>          <td class="paramtype">const std::string &amp;&nbsp;</td>          <td class="paramname"> <em>str</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline, private]</code></td>        </tr>      </table></div><div class="memdoc"><p>The hash function used to create a key from the NE name <a href="http:///www.partow.net/programming/hashfunctions/#RSHashFunction">http:///www.partow.net/programming/hashfunctions/#RSHashFunction</a> <p>Definition at line <a class="el" href="_command_8h-source.html#l00244">244</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00224">PluginThreadPool::Command&lt; T &gt;::GetKey()</a>.</div></div><p><hr><h2>Member Data Documentation</h2><a class="anchor" name="a79238db30e99d1c03f72050ba48a898"></a><!-- doxytag: member="PluginThreadPool::Command::m_key" ref="a79238db30e99d1c03f72050ba48a898" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">std::string <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#a79238db30e99d1c03f72050ba48a898">m_key</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00149">149</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00224">PluginThreadPool::Command&lt; T &gt;::GetKey()</a>.</div></div><p><a class="anchor" name="960a60f376ad7a916bd3c97f11d2a824"></a><!-- doxytag: member="PluginThreadPool::Command::m_objptr" ref="960a60f376ad7a916bd3c97f11d2a824" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">T* <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#960a60f376ad7a916bd3c97f11d2a824">m_objptr</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00129">129</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</a>.</div></div><p><a class="anchor" name="03e2cf02a2ff39a8d614d56bd0345682"></a><!-- doxytag: member="PluginThreadPool::Command::m_par1" ref="03e2cf02a2ff39a8d614d56bd0345682" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">int <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#03e2cf02a2ff39a8d614d56bd0345682">m_par1</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00151">151</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00174">PluginThreadPool::Command&lt; T &gt;::Command()</a>, and <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</a>.</div></div><p><a class="anchor" name="0813562408adb30c60ad501c8b533b00"></a><!-- doxytag: member="PluginThreadPool::Command::m_timeout" ref="0813562408adb30c60ad501c8b533b00" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">long <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#0813562408adb30c60ad501c8b533b00">m_timeout</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00148">148</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00217">PluginThreadPool::Command&lt; T &gt;::GetTimeOut()</a>.</div></div><p><a class="anchor" name="199d3a70de4ff59db4f85f09a9fe0bdf"></a><!-- doxytag: member="PluginThreadPool::Command::m_value" ref="199d3a70de4ff59db4f85f09a9fe0bdf" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">long <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#199d3a70de4ff59db4f85f09a9fe0bdf">m_value</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00150">150</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00230">PluginThreadPool::Command&lt; T &gt;::operator&lt;()</a>.</div></div><p><a class="anchor" name="7552d1a7c1afc09dcdd886e7ade68789"></a><!-- doxytag: member="PluginThreadPool::Command::method" ref="7552d1a7c1afc09dcdd886e7ade68789" args=")()" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname">void(T::* <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#7552d1a7c1afc09dcdd886e7ade68789">method</a>)()<code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Referenced by <a class="el" href="_command_8h-source.html#l00157">PluginThreadPool::Command&lt; T &gt;::Command()</a>, and <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</a>.</div></div><p><a class="anchor" name="09eb6f552921e01ef734cfb42790caa2"></a><!-- doxytag: member="PluginThreadPool::Command::method0" ref="09eb6f552921e01ef734cfb42790caa2" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname"><a class="el" href="class_plugin_thread_pool_1_1binder.html">F0</a>* <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#09eb6f552921e01ef734cfb42790caa2">method0</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00144">144</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00166">PluginThreadPool::Command&lt; T &gt;::Command()</a>, and <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</a>.</div></div><p><a class="anchor" name="5aaecab58914d6fca0996d12d5c802b9"></a><!-- doxytag: member="PluginThreadPool::Command::method1" ref="5aaecab58914d6fca0996d12d5c802b9" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname"><a class="el" href="class_plugin_thread_pool_1_1_command.html#85b52dc64e486eac2c2c4d9db92b9b3c">F1</a>* <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#5aaecab58914d6fca0996d12d5c802b9">method1</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00145">145</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00174">PluginThreadPool::Command&lt; T &gt;::Command()</a>, and <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</a>.</div></div><p><a class="anchor" name="e81dab19d4e8944a4c349c220599946e"></a><!-- doxytag: member="PluginThreadPool::Command::method3" ref="e81dab19d4e8944a4c349c220599946e" args="" --><div class="memitem"><div class="memproto"><div class="memtemplate">template&lt;typename T&gt; </div>      <table class="memname">        <tr>          <td class="memname"><a class="el" href="class_plugin_thread_pool_1_1binder3.html">F3</a>* <a class="el" href="class_plugin_thread_pool_1_1_command.html">PluginThreadPool::Command</a>&lt; T &gt;::<a class="el" href="class_plugin_thread_pool_1_1_command.html#e81dab19d4e8944a4c349c220599946e">method3</a><code> [private]</code>          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="_command_8h-source.html#l00146">146</a> of file <a class="el" href="_command_8h-source.html">Command.h</a>.<p>Referenced by <a class="el" href="_command_8h-source.html#l00183">PluginThreadPool::Command&lt; T &gt;::Command()</a>, and <a class="el" href="_command_8h-source.html#l00191">PluginThreadPool::Command&lt; T &gt;::execute()</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 + -