LibreOffice Module cppuhelper (master) 1
Classes | Public Member Functions | List of all members
cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 > Class Template Reference

Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which supports weak mechanism to be held weakly (supporting css::uno::XWeak through cppu::OWeakObject). More...

#include <implbase3.hxx>

Inheritance diagram for cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 >:
[legend]
Collaboration diagram for cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 >:
[legend]

Classes

struct  cd
 

Public Member Functions

virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More...
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 increasing m_refCount More...
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 decreasing m_refCount More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 Default Constructor. More...
 
 OWeakObject (const OWeakObject &)
 Dummy copy constructor. More...
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 Dummy assignment operator. More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More...
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 increasing m_refCount More...
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 decreasing m_refCount More...
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 XWeak::queryAdapter() implementation. More...
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 Cast operator to XInterface reference. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 Virtual dtor. More...
 
void disposeWeakConnectionPoint ()
 disposes and resets m_pWeakConnectionPoint More...
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 reference count. More...
 

Detailed Description

template<class Ifc1, class Ifc2, class Ifc3>
class cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 >

Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which supports weak mechanism to be held weakly (supporting css::uno::XWeak through cppu::OWeakObject).

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 110 of file implbase3.hxx.

Member Function Documentation

◆ acquire()

template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void SAL_CALL cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 >::acquire ( )
inlinevirtual

increasing m_refCount

Reimplemented from cppu::OWeakObject.

Definition at line 119 of file implbase3.hxx.

References cppu::OWeakObject::acquire().

◆ getImplementationId()

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

Definition at line 125 of file implbase3.hxx.

References cppu::ImplHelper_getImplementationId().

◆ getTypes()

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

Definition at line 123 of file implbase3.hxx.

References cppu::WeakImplHelper_getTypes().

◆ queryInterface()

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

Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface.

Parameters
rTypedemanded type
Returns
demanded type or empty any

Reimplemented from cppu::OWeakObject.

Definition at line 117 of file implbase3.hxx.

References cppu::WeakImplHelper_query().

◆ release()

template<class Ifc1 , class Ifc2 , class Ifc3 >
virtual void SAL_CALL cppu::WeakImplHelper3< Ifc1, Ifc2, Ifc3 >::release ( )
inlinevirtual

decreasing m_refCount

Reimplemented from cppu::OWeakObject.

Definition at line 121 of file implbase3.hxx.

References cppu::OWeakObject::release().


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