Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 9313

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>class OWeakObject</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainself">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3">
<tr>
<td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<font size="-2">DATA</font>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
<tr>
<td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td>
<td>
&nbsp;<font size="-2">CLASSES</font>
|&nbsp;<font size="-2">STRUCTS</font>
|&nbsp;<font size="-2">UNIONS</font>
|&nbsp;<font size="-2">ENUMS</font>
|&nbsp;<font size="-2">TYPEDEFS</font>
|&nbsp;<a href="#prot_ops"><font size="-2"><b>METHODS</b></font></a>
|&nbsp;<font size="-2">STATIC METHODS</font>
|&nbsp;<a href="#prot_vars"><font size="-2"><b>DATA</b></font></a>
|&nbsp;<font size="-2">STATIC DATA</font></td>
</tr>
</table>
<hr>
<a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>cppu</b></font></a><font size="+1"> :: </font><div class="title"><h2>class OWeakObject</h2>
</div><hr>
<dl>
<dt>Base Classes</dt>
<dd><pre style="font-family:monospace;">
<span class="btpubl">com::sun::star::uno::<a href="../../../../common/ref/com/sun/star/uno/XWeak.html">XWeak</a> (public)</span>
  |  
  +--<span class="btself">OWeakObject</span>
</pre></dd>
</dl>
<dl>
<dt>Known Derived Classes</dt>
<dd><a href="c-WeakImplHelper7.html">WeakImplHelper7</a><br>
<a href="c-WeakImplHelper3.html">WeakImplHelper3</a><br>
<a href="c-WeakImplHelper10.html">WeakImplHelper10</a><br>
<a href="c-WeakImplHelper8.html">WeakImplHelper8</a><br>
<a href="c-WeakComponentImplHelperBase.html">WeakComponentImplHelperBase</a><br>
<a href="c-WeakImplHelper12.html">WeakImplHelper12</a><br>
<a href="c-WeakImplHelper1.html">WeakImplHelper1</a><br>
<a href="c-OWeakAggObject.html">OWeakAggObject</a><br>
<a href="c-WeakImplHelper11.html">WeakImplHelper11</a><br>
<a href="c-WeakImplHelper2.html">WeakImplHelper2</a><br>
<a href="c-WeakImplHelper4.html">WeakImplHelper4</a><br>
<a href="c-WeakImplHelper6.html">WeakImplHelper6</a><br>
<a href="c-WeakImplHelper9.html">WeakImplHelper9</a><br>
<a href="c-WeakImplHelper5.html">WeakImplHelper5</a><br>
</dd>
</dl>
<br>
<table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="25%" class="flagname">virtual</td>
<td width="25%" class="flagname">abstract</td>
<td width="25%" class="flagname">interface</td>
<td width="25%" class="flagname">template</td>
</tr>
<tr>
<td class="flagyes">YES</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<dl>
<dt>Description</dt>
<dd><pre>Base class to implement an UNO object supporting weak references, i.e. the object can be held
weakly (by a ::com::sun::star::uno::WeakReference).
This implementation copes with reference counting.  Upon last release(), the virtual dtor
is called.

</pre></dd>
<dt>How to Derive from this Class</dt>
<dd><pre>
Inherit from this class and delegate acquire()/ release() calls.
</pre></dd>
</dl>
<dl>
<dt>File</dt>
<dd>weak.hxx</dd>
</dl>
<hr>
<dl>
<dt class="subtitle"><a name="publ_"><h3>Public Members</h3>
</a></dt>
<dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td> <br>
<a href="OWeakObject/o.html#OWeakObject-3666">OWeakObject</a>( ) throw( );</td>
<td width="50%"> Default Constructor.  Sets the reference count to zero.
Accidentally occurs in msvc mapfile = &gt; had to be outlined.
</td>
</tr>
<tr>
<td> <br>
<a href="OWeakObject/o.html#OWeakObject-3667">OWeakObject</a>( ) throw( );</td>
<td width="50%"> Default Constructor.  Sets the reference count to zero.
</td>
</tr>
<tr>
<td> <br>
<a href="OWeakObject/o.html#OWeakObject-3668">OWeakObject</a>( const OWeakObject &amp;  ) throw( );</td>
<td width="50%"> Dummy copy constructor.  Set the reference count to zero.

</td>
</tr>
<tr>
<td>OWeakObject &amp; <br>
<a href="OWeakObject/o.html#operator=-3669">operator=</a>( const OWeakObject &amp;  ) throw( );</td>
<td width="50%"> Dummy assignment operator. Does not affect reference count.

</td>
</tr>
<tr>
<td>virtual ::com::sun::star::uno::Any <br>
<a href="OWeakObject/o.html#queryInterface-3670">queryInterface</a>( const ::com::sun::star::uno::Type &amp; rType ) throw( ::com::sun::star::uno::RuntimeException );</td>
<td width="50%"> Basic queryInterface() implementation supporting ::com::sun::star::uno::XWeak and
::com::sun::star::uno::XInterface.

</td>
</tr>
<tr>
<td>virtual void <br>
<a href="OWeakObject/o.html#acquire-3671">acquire</a>( ) throw( );</td>
<td width="50%"> increasing m_refCount
</td>
</tr>
<tr>
<td>virtual void <br>
<a href="OWeakObject/o.html#release-3672">release</a>( ) throw( );</td>
<td width="50%"> decreasing m_refCount
</td>
</tr>
<tr>
<td>virtual ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XAdapter &gt; <br>
<a href="OWeakObject/o.html#queryAdapter-3673">queryAdapter</a>( ) throw( ::com::sun::star::uno::RuntimeException );</td>
<td width="50%"> XWeak::queryAdapter()implementation

</td>
</tr>
<tr>
<td> <br>
<a href="OWeakObject/o.html#operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >-3674">operator ::com::sun::star::uno::Reference&lt; ::com::sun::star::uno::XInterface &gt;</a>( ) throw( );</td>
<td width="50%"> Cast operator to XInterface reference.

</td>
</tr>
</table>
<hr>
</dd>
</dl>
<dl>
<dt class="subtitle"><a name="prot_"><h3>Protected Members</h3>
</a></dt>
<dd><a name="prot_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Methods</h4>
</td>
</tr>
<tr>
<td>virtual  <br>
<a href="OWeakObject/o.html#~OWeakObject-3657">~OWeakObject</a>( ) throw( ::com::sun::star::uno::RuntimeException );</td>
<td width="50%"> Virtual dtor.

</td>
</tr>
<tr>
<td>void <br>
<a href="OWeakObject/o.html#disposeWeakConnectionPoint-3658">disposeWeakConnectionPoint</a>( );</td>
<td width="50%"> disposes and resets m_pWeakConnectionPoint
</td>
</tr>
</table>
<hr>
<a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%">
<tr class="subtitle">
<td colspan="2"><h4>Data</h4>
</td>
</tr>
<tr bgcolor="white">
<td><a href="../t-oslInterlockedCount.html">oslInterlockedCount</a> <a href="OWeakObject/d.html#m_refCount"><strong>m_refCount;</strong></a></td>
<td>reference count.

</td>
</tr>
</table>
<hr>
</dd>
</dl>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>