Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent.
More...
|
| WeakComponentImplHelper2 (::osl::Mutex &rMutex) SAL_NOEXCEPT |
|
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
|
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
|
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
|
virtual void SAL_CALL | dispose () SAL_OVERRIDE |
|
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE |
|
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE |
|
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
|
template<class Ifc1, class Ifc2>
class cppu::WeakComponentImplHelper2< Ifc1, Ifc2 >
Implementation helper supporting css::lang::XTypeProvider and css::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 css::uno::WeakReference.
- Attention: \n
- The life-cycle of the passed mutex reference has to be longer than objects of this class.
- Derive: \n
- 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).
Definition at line 47 of file include/cppuhelper/compbase2.hxx.