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 OWeakAggObject
Base Classes
com::sun::star::uno::XWeak (public)
|
+--cppu::OWeakObject (public)
|
| com::sun::star::uno::XAggregation (public)
| |
+----+--OWeakAggObject
Known Derived Classes
WeakAggComponentImplHelperBase
OComponentHelper
WeakAggImplHelper1
WeakAggImplHelper10
WeakAggImplHelper11
WeakAggImplHelper12
WeakAggImplHelper2
WeakAggImplHelper3
WeakAggImplHelper4
WeakAggImplHelper5
WeakAggImplHelper6
WeakAggImplHelper7
WeakAggImplHelper8
WeakAggImplHelper9
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) and aggregation, i.e. the object can be
aggregated by another (delegator).
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. Re-implement
XAggregation::queryInterface().
File
weakagg.hxx
Public Members
Methods
OWeakAggObject ( ) throw( );
Constructor. No delegator set.
virtual void
acquire ( ) throw( );
If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to
base class ::cppu::OWeakObject.
virtual void
release ( ) throw( );
If a delegator is set, then the delegators gets released. Otherwise call is delegated to
base class ::cppu::OWeakObject.
virtual ::com::sun::star::uno::Any
queryInterface ( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
virtual void
setDelegator ( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & Delegator ) throw( ::com::sun::star::uno::RuntimeException );
Set the delegator. The delegator member reference is a weak reference.
virtual ::com::sun::star::uno::Any
queryAggregation ( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException );
Called by the delegator or queryInterface. Re-implement this method instead of
queryInterface.
Protected Members
Methods
virtual
~OWeakAggObject ( ) throw( ::com::sun::star::uno::RuntimeException );
Virtual dtor. Called when reference count is 0.
Top of Page Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.