Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
PUBLIC MEMBERS:
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA
PROTECTED MEMBERS:
CLASSES
| STRUCTS
| UNIONS
| ENUMS
| TYPEDEFS
| METHODS
| STATIC METHODS
| DATA
| STATIC DATA
:: cppu ::
class OWeakObject
Base Classes
com::sun::star::uno::XWeak (public)
|
+--OWeakObject
Known Derived Classes
WeakImplHelper1
WeakImplHelper2
WeakImplHelper3
WeakImplHelper4
WeakImplHelper5
WeakImplHelper6
WeakImplHelper7
WeakImplHelper8
WeakImplHelper9
WeakImplHelper10
WeakImplHelper11
WeakImplHelper12
WeakComponentImplHelperBase
OWeakAggObject
virtual
abstract
interface
template
YES
NO
NO
NO
Description
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.
How to Derive from this Class
Inherit from this class and delegate acquire()/ release() calls.
File
weak.hxx
Public Members
Methods
OWeakObject ( ) throw( );
Constructor. Set the reference count to zero.
OWeakObject ( const OWeakObject & rObj ) throw( );
Dummy copy constructor. Set the reference count to zero.
OWeakObject &
operator= ( const OWeakObject & rObj ) throw( );
Dummy assignment operator. Does not affect reference count.
virtual ::com::sun::star::uno::Any
queryInterface ( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
Basic queryInterface() implementation supporting ::com::sun::star::uno::XWeak and
::com::sun::star::uno::XInterface.
virtual void
acquire ( ) throw( );
increasing m_refCount
virtual void
release ( ) throw( );
decreasing m_refCount
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAdapter >
queryAdapter ( ) throw( ::com::sun::star::uno::RuntimeException );
XWeak::queryAdapter()implementation
operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ( ) throw( );
Cast operator to XInterface reference.
Protected Members
Methods
virtual
~OWeakObject ( ) throw( ::com::sun::star::uno::RuntimeException );
Virtual dtor.
Top of Page Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.