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

📄 notifier__ext_8h.html

📁 pwlib开发文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>notifier_ext.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>notifier_ext.h File Reference</h1><p><a href="notifier__ext_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Compounds</h2></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPNotifierList.html">PNotifierList</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPSmartNotifieeRegistrar.html">PSmartNotifieeRegistrar</a></td></tr><tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPSmartNotifierFunction.html">PSmartNotifierFunction</a></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="notifier__ext_8h.html#a0">PDECLARE_SMART_NOTIFIEE</a>&nbsp;&nbsp;&nbsp;<a class="el" href="classPSmartNotifieeRegistrar.html">PSmartNotifieeRegistrar</a>   m_Registrar; \</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="notifier__ext_8h.html#a1">PCREATE_SMART_NOTIFIEE</a>&nbsp;&nbsp;&nbsp;m_Registrar.Init(this)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="notifier__ext_8h.html#a2">PDECLARE_SMART_NOTIFIER</a>(notifier, notifiee, func)</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="notifier__ext_8h.html#a3">PCREATE_SMART_NOTIFIER</a>(func)&nbsp;&nbsp;&nbsp;<a class="el" href="classPNotifier.html">PNotifier</a>(new func##_PSmartNotifier(m_Registrar.GetID()))</td></tr></table><hr><h2>Define Documentation</h2><a name="a1" doxytag="notifier_ext.h::PCREATE_SMART_NOTIFIEE"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PCREATE_SMART_NOTIFIEE&nbsp;&nbsp;&nbsp;m_Registrar.Init(this)      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a3" doxytag="notifier_ext.h::PCREATE_SMART_NOTIFIER"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PCREATE_SMART_NOTIFIER</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">func&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;<a class="el" href="classPNotifier.html">PNotifier</a>(new func##_PSmartNotifier(m_Registrar.GetID()))      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a0" doxytag="notifier_ext.h::PDECLARE_SMART_NOTIFIEE"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PDECLARE_SMART_NOTIFIEE&nbsp;&nbsp;&nbsp;<a class="el" href="classPSmartNotifieeRegistrar.html">PSmartNotifieeRegistrar</a>   m_Registrar; \      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a2" doxytag="notifier_ext.h::PDECLARE_SMART_NOTIFIER"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define PDECLARE_SMART_NOTIFIER</td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">notifier,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>notifiee,         <tr>          <td></td>          <td></td>          <td class="md" nowrap>func&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><b>Value:</b><div class="fragment"><pre><span class="keyword">class </span>func##_PSmartNotifier : <span class="keyword">public</span> <a class="code" href="classPSmartNotifierFunction.html">PSmartNotifierFunction</a> { \    <span class="keyword">public</span>: \      func##_PSmartNotifier(<span class="keywordtype">unsigned</span> id) : <a class="code" href="classPSmartNotifierFunction.html">PSmartNotifierFunction</a>(id) { } \      <span class="keyword">virtual</span> <span class="keywordtype">void</span> Call(<a class="code" href="classPObject.html">PObject</a> &amp; note, INT extra) <span class="keyword">const</span> \      { \          <span class="keywordtype">void</span> * obj = GetNotifiee(); \          <span class="keywordflow">if</span> (obj) \            ((notifiee*)obj)-&gt;func((notifier &amp;)note, extra); \          <span class="keywordflow">else</span> \                  <a class="code" href="object_8h.html#a16">PTRACE</a>(2, <span class="stringliteral">"Invalid notifiee"</span>); \      } \  }; \  <span class="keyword">friend</span> <span class="keyword">class </span>func##_PSmartNotifier; \  <span class="keyword">virtual</span> <span class="keywordtype">void</span> func(notifier &amp; note, INT extra)</pre></div>    </td>  </tr></table><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:12 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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