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

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

#include <compbase1.hxx>

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

Classes

struct  cd
 

Public Member Functions

 WeakComponentImplHelper1 (::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
 

Detailed Description

template<class Ifc1>
class cppu::WeakComponentImplHelper1< 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.

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 compbase1.hxx.

Constructor & Destructor Documentation

◆ WeakComponentImplHelper1()

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

Definition at line 54 of file compbase1.hxx.

Member Function Documentation

◆ acquire()

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

Definition at line 59 of file compbase1.hxx.

◆ addEventListener()

template<class Ifc1 >
virtual void SAL_CALL cppu::WeakComponentImplHelper1< Ifc1 >::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
inlinevirtual

Definition at line 65 of file compbase1.hxx.

◆ dispose()

template<class Ifc1 >
virtual void SAL_CALL cppu::WeakComponentImplHelper1< Ifc1 >::dispose ( void  )
inlinevirtual

Definition at line 63 of file compbase1.hxx.

◆ getImplementationId()

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

Definition at line 71 of file compbase1.hxx.

References cppu::ImplHelper_getImplementationId().

◆ getTypes()

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

Definition at line 69 of file compbase1.hxx.

References cppu::WeakComponentImplHelper_getTypes().

◆ queryInterface()

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

Definition at line 57 of file compbase1.hxx.

References cppu::WeakComponentImplHelper_query().

◆ release()

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

Definition at line 61 of file compbase1.hxx.

◆ removeEventListener()

template<class Ifc1 >
virtual void SAL_CALL cppu::WeakComponentImplHelper1< Ifc1 >::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
inlinevirtual

Definition at line 67 of file compbase1.hxx.


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