LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
Classes | Public Member Functions | List of all members
cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 > Class Template Reference

Same as WeakComponentImplHelper2, except doesn't implement addEventListener, removeEventListener and dispose. More...

#include <compbase2.hxx>

Inheritance diagram for cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >:

Public Member Functions

 PartialWeakComponentImplHelper2 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8getImplementationId () SAL_OVERRIDE
 

Detailed Description

template<class Ifc1, class Ifc2>
class cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >

Same as WeakComponentImplHelper2, except doesn't implement addEventListener, removeEventListener and dispose.

This requires derived classes to implement those three methods. This makes it possible to implement classes which are required to implement methods from multiple bases which have different addEventListener/removeEventListener signatures without triggering the g++ overloaded-virtual warning

Constructor & Destructor Documentation

◆ PartialWeakComponentImplHelper2()

template<class Ifc1 , class Ifc2 >
cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::PartialWeakComponentImplHelper2 ( ::osl::Mutex rMutex)
inline

Member Function Documentation

◆ acquire()

template<class Ifc1 , class Ifc2 >
virtual void cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::acquire ( )
inlinevirtual

◆ getImplementationId()

template<class Ifc1 , class Ifc2 >
virtual css::uno::Sequence< sal_Int8 > cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::getImplementationId ( )
inlinevirtual

◆ getTypes()

template<class Ifc1 , class Ifc2 >
virtual css::uno::Sequence< css::uno::Type > cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::getTypes ( )
inlinevirtual

◆ queryInterface()

template<class Ifc1 , class Ifc2 >
virtual css::uno::Any cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::queryInterface ( css::uno::Type const &  rType)
inlinevirtual

◆ release()

template<class Ifc1 , class Ifc2 >
virtual void cppu::PartialWeakComponentImplHelper2< Ifc1, Ifc2 >::release ( )
inlinevirtual

The documentation for this class was generated from the following file: