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) | | +----+--cppu::OWeakAggObject (public) | | com::sun::star::lang::XTypeProvider (public) | | | | com::sun::star::lang::XComponent (public) | | | +----+----+--OComponentHelper
virtual | abstract | interface | template |
YES | YES | YES | NO |
Deprecated. Helper for implementing ::com::sun::star::lang::XComponent. Upon disposing objects of this class, sub-classes receive a disposing() call. Objects of this class can be held weakly, i.e. by a ::com::sun::star::uno::WeakReference. Object of this class can be aggregated, i.e. incoming queryInterface() calls are delegated.
The life-cycle of the passed mutex reference has to be longer than objects of this class.
Methods |
|
OComponentHelper( ::osl::Mutex & rMutex ) throw( ); |
Constructor. |
virtual ~OComponentHelper( ) throw( ::com::sun::star::uno::RuntimeException ); |
Dewstructor. If this object was not disposed previously, object will be disposed manually. |
virtual ::com::sun::star::uno::Any queryInterface( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); |
|
virtual ::com::sun::star::uno::Any queryAggregation( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException ); |
|
virtual void acquire( ) throw( ); |
|
virtual void release( ) throw( ); |
|
virtual ::com::sun::star::uno::Sequence< sal_Int8 > getImplementationId( ) throw( ::com::sun::star::uno::RuntimeException ) = 0; |
|
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getTypes( ) throw( ::com::sun::star::uno::RuntimeException ); |
|
virtual void dispose( ) throw( ::com::sun::star::uno::RuntimeException ); |
|
virtual void addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ) throw( ::com::sun::star::uno::RuntimeException ); |
|
virtual void removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener ) throw( ::com::sun::star::uno::RuntimeException ); |
Methods |
|
virtual void disposing( ); |
Called in dispose method after the listeners were notified. |
Copyright © 2003 Sun Microsystems, Inc.