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 © 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.