LibreOffice Module comphelper (master) 1
Public Member Functions | Static Private Member Functions | List of all members
comphelper::WeakComponentImplHelper< Ifc > Class Template Reference

#include <compbase.hxx>

Inheritance diagram for comphelper::WeakComponentImplHelper< Ifc >:
[legend]
Collaboration diagram for comphelper::WeakComponentImplHelper< Ifc >:
[legend]

Public Member Functions

virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 Called by dispose for subclasses to do dispose() work. More...
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Static Private Member Functions

static cppu::class_data * class_data_get ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
std::mutex m_aMutex
 
bool m_bDisposed = false
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

template<typename... Ifc>
class comphelper::WeakComponentImplHelper< Ifc >

Definition at line 59 of file compbase.hxx.

Member Function Documentation

◆ acquire()

template<typename... Ifc>
virtual void SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::acquire ( )
inlinefinaloverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 64 of file compbase.hxx.

◆ addEventListener()

template<typename... Ifc>
virtual void SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::addEventListener ( css::uno::Reference< css::lang::XEventListener > const &  rxListener)
inlinefinaloverridevirtual

◆ class_data_get()

template<typename... Ifc>
static cppu::class_data * comphelper::WeakComponentImplHelper< Ifc >::class_data_get ( )
inlinestaticprivate

Definition at line 104 of file compbase.hxx.

◆ dispose()

template<typename... Ifc>
virtual void SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::dispose ( void  )
inlinefinaloverridevirtualnoexcept

◆ getImplementationId()

template<typename... Ifc>
virtual css::uno::Sequence< sal_Int8 > SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::getImplementationId ( )
inlineoverridevirtual

Definition at line 98 of file compbase.hxx.

◆ getTypes()

template<typename... Ifc>
virtual css::uno::Sequence< css::uno::Type > SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::getTypes ( )
inlineoverridevirtual

Definition at line 90 of file compbase.hxx.

References cppu::UnoType< typename T >::get().

◆ queryInterface()

template<typename... Ifc>
virtual css::uno::Any SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::queryInterface ( css::uno::Type const &  rType)
inlineoverridevirtual

Reimplemented from comphelper::WeakComponentImplHelperBase.

Definition at line 84 of file compbase.hxx.

References comphelper::WeakComponentImplHelper_query().

◆ release()

template<typename... Ifc>
virtual void SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::release ( )
inlinefinaloverridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 66 of file compbase.hxx.

◆ removeEventListener()

template<typename... Ifc>
virtual void SAL_CALL comphelper::WeakComponentImplHelper< Ifc >::removeEventListener ( css::uno::Reference< css::lang::XEventListener > const &  rxListener)
inlinefinaloverridevirtual

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