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

Implementation helper supporting css::lang::XTypeProvider and css::lang::XComponent. More...

#include <compbase1.hxx>

Inheritance diagram for cppu::WeakAggComponentImplHelper1< Ifc1 >:
[legend]
Collaboration diagram for cppu::WeakAggComponentImplHelper1< Ifc1 >:
[legend]

Classes

struct  cd
 

Public Member Functions

 WeakAggComponentImplHelper1 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (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 css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Detailed Description

template<class Ifc1>
class cppu::WeakAggComponentImplHelper1< Ifc1 >

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. Object of this class can be aggregated, i.e. incoming queryInterface() calls are delegated.

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).
Deprecated:

Definition at line 125 of file compbase1.hxx.

Constructor & Destructor Documentation

◆ WeakAggComponentImplHelper1()

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

Definition at line 132 of file compbase1.hxx.

Member Function Documentation

◆ acquire()

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

Definition at line 139 of file compbase1.hxx.

◆ getImplementationId()

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

Definition at line 145 of file compbase1.hxx.

References cppu::ImplHelper_getImplementationId().

◆ getTypes()

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

Definition at line 143 of file compbase1.hxx.

References cppu::WeakAggComponentImplHelper_getTypes().

◆ queryAggregation()

template<class Ifc1 >
virtual css::uno::Any SAL_CALL cppu::WeakAggComponentImplHelper1< Ifc1 >::queryAggregation ( css::uno::Type const &  rType)
inlinevirtual

Definition at line 137 of file compbase1.hxx.

References cppu::WeakAggComponentImplHelper_queryAgg().

◆ queryInterface()

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

Definition at line 135 of file compbase1.hxx.

References cppu::queryInterface().

◆ release()

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

Definition at line 141 of file compbase1.hxx.


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