Methods of Class OWeakAggObject
- OWeakAggObject
- OWeakAggObject() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
- Constructor. No delegator set.
- acquire
- virtual void acquire() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- If a delegator is set, then the delegators gets acquired. Otherwise call is delegated to
base class ::cppu::OWeakObject.
- release
- virtual void release() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- If a delegator is set, then the delegators gets released. Otherwise call is delegated to
base class ::cppu::OWeakObject.
- queryInterface
- virtual ::com::sun::star::uno::Any queryInterface(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Description
- If a delegator is set, then the delegator is queried for the demanded interface. If the
delegator cannot provide the demanded interface, it calls queryAggregation() on its
aggregated objects.
- Parameters
rType |
demanded interface type
|
- Return
- demanded type or empty any
- See Also
- queryAggregation.
- setDelegator
- virtual void setDelegator(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & |
Delegator ) |
| throw( ::com::sun::star::uno::RuntimeException ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Set the delegator. The delegator member reference is a weak reference.
- Parameters
Delegator |
the object that delegate its queryInterface to this aggregate.
|
- queryAggregation
- virtual ::com::sun::star::uno::Any queryAggregation(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Called by the delegator or queryInterface. Re-implement this method instead of
queryInterface.
- See Also
- queryInterface
- ~OWeakAggObject
- virtual ~OWeakAggObject()
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
YES |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
- Summary
- Virtual dtor. Called when reference count is 0.
- ATTENTION!
-
Despite the fact that a RuntimeException is allowed to be thrown, you must not throw any
exception upon destruction!
Top of Page
Copyright © 2000, 2015 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "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 trademark policy.