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

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

#include <compbase1.hxx>

Inheritance diagram for cppu::PartialWeakComponentImplHelper1< Ifc1 >:

Public Member Functions

 PartialWeakComponentImplHelper1 (::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 cppu::PartialWeakComponentImplHelper1< Ifc1 >

Same as WeakComponentImplHelper1, 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

◆ PartialWeakComponentImplHelper1()

template<class Ifc1 >
cppu::PartialWeakComponentImplHelper1< Ifc1 >::PartialWeakComponentImplHelper1 ( ::osl::Mutex rMutex)
inline

Member Function Documentation

◆ acquire()

template<class Ifc1 >
virtual void cppu::PartialWeakComponentImplHelper1< Ifc1 >::acquire ( )
inlinevirtual

◆ getImplementationId()

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

◆ getTypes()

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

◆ queryInterface()

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

◆ release()

template<class Ifc1 >
virtual void cppu::PartialWeakComponentImplHelper1< Ifc1 >::release ( )
inlinevirtual

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