Overview | Namespace | Class | Index | Help |
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 |
com::sun::star::uno::XWeak (public) | +--cppu::OWeakObject (public) | | com::sun::star::uno::XAggregation (public) | | +----+--OWeakAggObject
virtual | abstract | interface | template |
YES | NO | NO | NO |
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. |
Methods |
|
virtual ~OWeakAggObject( ) throw( ::com::sun::star::uno::RuntimeException ); |
Virtual dtor. Called when reference count is 0. |
Data |
|
::com::sun::star::uno::WeakReferenceHelper xDelegator; | weak reference to delegator. |
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.