:: cppu ::

template< typename Ifc1, typename Ifc2 >

class WeakAggComponentImplHelper2


Base Classes
WeakAggComponentImplHelperBase (public)
  |  
  |  com::sun::star::lang::XTypeProvider (public)
  |    |  
  |    |  Ifc1 (public)
  |    |    |  
  |    |    |  Ifc2 (public)
  |    |    |    |  
  +----+----+----+--WeakAggComponentImplHelper2
Known Derived Classes
None.

virtual abstract interface template
YES NO NO YES
D E P R E C A T E D
Summary
Implementation helper supporting ::com::sun::star::lang::XTypeProvider and
::com::sun::star::lang::XComponent.

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

How to Derive from this Class
Inherit from this class giving your interface(s) to be implemented as template argument(s).
Your sub class defines method implementations for these interface(s).


File
compbase2.hxx

Public Members

Methods


WeakAggComponentImplHelper2( ::osl::Mutex & rMutex ) throw( );
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< ::com::sun::star::uno::Type >
getTypes( ) throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Sequence< sal_Int8 >
getImplementationId( ) throw( ::com::sun::star::uno::RuntimeException );

Top of Page