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 OComponentHelper
- Base Classes
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
- Known Derived Classes
- None.
virtual |
abstract |
interface |
template |
YES |
YES |
YES |
NO |
- D E P R E C A T E D
- Description
- 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.
- ATTENTION!
-
The life-cycle of the passed mutex reference has to be longer than objects of this class.
- File
- component.hxx
Public Members
-
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 ); |
|
Protected Members
-
Methods
|
virtual void
disposing( ); |
Called in dispose method after the listeners were notified.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.