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

📄 classpsmartobject.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>PSmartObject class 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>PSmartObject Class Reference</h1><code>#include &lt;<a class="el" href="smartptr_8h-source.html">smartptr.h</a>&gt;</code><p><p>Inheritance diagram for PSmartObject:<p><center><img src="classPSmartObject.png" usemap="#PSmartObject_map" border="0" alt=""></center><map name="PSmartObject_map"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,142,24"><area href="classPNotifierFunction.html" alt="PNotifierFunction" shape="rect" coords="0,112,142,136"><area href="classPSmartNotifierFunction.html" alt="PSmartNotifierFunction" shape="rect" coords="0,168,142,192"></map><a href="classPSmartObject-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 Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPSmartObject.html#a0">PSmartObject</a> ()</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPAtomicInteger.html">PAtomicInteger</a>&nbsp;</td><td valign=bottom><a class="el" href="classPSmartObject.html#n0">referenceCount</a></td></tr><tr><td colspan=2><br><h2>Friends</h2></td></tr><tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classPSmartObject.html#l0">PSmartPointer</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This is the base class for objects that use the {\it smart pointer} system. In conjunction with the <a class="el" href="classPSmartObject.html#l0">PSmartPointer</a># class, this class creates objects that can have the automatic deletion of the object instance when there are no more smart pointer instances pointing to it.<p>A <a class="el" href="classPSmartObject.html#a0">PSmartObject</a># carries the reference count that the <a class="el" href="classPSmartObject.html#l0">PSmartPointer</a>#  requires to determine if the pointer is needed any more and should be deleted. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PSmartObject::PSmartObject"></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"> PSmartObject::PSmartObject </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Construct a new smart object, subject to a <a class="el" href="classPSmartObject.html#l0">PSmartPointer</a># instance referencing it.     </td>  </tr></table><hr><h2>Friends And Related Function Documentation</h2><a name="l0" doxytag="PSmartObject::PSmartPointer"></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"> friend class PSmartPointer<code> [friend]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="PSmartObject::referenceCount"></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"> <a class="el" href="classPAtomicInteger.html">PAtomicInteger</a> PSmartObject::referenceCount<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Count of number of instances of <a class="el" href="classPSmartObject.html#l0">PSmartPointer</a># that currently reference the object instance.     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="smartptr_8h-source.html">smartptr.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:19 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 + -