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

#include <compbase2.hxx>

Inheritance diagram for cppuhelper::WeakComponentImplHelper2< Ifc >:
[legend]
Collaboration diagram for cppuhelper::WeakComponentImplHelper2< Ifc >:
[legend]

Public Member Functions

virtual void SAL_CALL acquire () noexcept override
 increasing m_refCount More...
 
virtual void SAL_CALL release () noexcept override
 decreasing m_refCount More...
 
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
 Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More...
 
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 cppuhelper::WeakComponentImplHelperBase2
virtual ~WeakComponentImplHelperBase2 () 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
 Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More...
 
virtual void disposing (std::unique_lock< std::mutex > &)
 Called by dispose for subclasses to do dispose() work. More...
 
- Public Member Functions inherited from cppuhelper::UnoImplBase
virtual ~UnoImplBase ()
 
- 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...
 

Static Private Member Functions

static cppu::class_data * class_data_get ()
 

Additional Inherited Members

- Protected Member Functions inherited from cppuhelper::WeakComponentImplHelperBase2
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- 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 cppuhelper::WeakComponentImplHelperBase2
OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from cppuhelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed = false
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 reference count. More...
 

Detailed Description

template<typename... Ifc>
class cppuhelper::WeakComponentImplHelper2< Ifc >

Definition at line 75 of file cppuhelper/inc/compbase2.hxx.

Member Function Documentation

◆ acquire()

template<typename... Ifc>
virtual void SAL_CALL cppuhelper::WeakComponentImplHelper2< Ifc >::acquire ( )
inlineoverridevirtualnoexcept

increasing m_refCount

Reimplemented from cppu::OWeakObject.

Reimplemented in cppuhelper::ServiceManager, and cppuhelper::TypeManager.

Definition at line 80 of file cppuhelper/inc/compbase2.hxx.

◆ addEventListener()

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

◆ class_data_get()

template<typename... Ifc>
static cppu::class_data * cppuhelper::WeakComponentImplHelper2< Ifc >::class_data_get ( )
inlinestaticprivate

Definition at line 120 of file cppuhelper/inc/compbase2.hxx.

◆ dispose()

template<typename... Ifc>
virtual void SAL_CALL cppuhelper::WeakComponentImplHelper2< Ifc >::dispose ( void  )
inlinefinaloverridevirtualnoexcept

◆ getImplementationId()

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

Definition at line 114 of file cppuhelper/inc/compbase2.hxx.

◆ getTypes()

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

Definition at line 106 of file cppuhelper/inc/compbase2.hxx.

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

◆ queryInterface()

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

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 cppuhelper::WeakComponentImplHelperBase2.

Definition at line 100 of file cppuhelper/inc/compbase2.hxx.

References cppuhelper::WeakComponentImplHelper_query().

◆ release()

template<typename... Ifc>
virtual void SAL_CALL cppuhelper::WeakComponentImplHelper2< Ifc >::release ( )
inlineoverridevirtualnoexcept

decreasing m_refCount

Reimplemented from cppu::OWeakObject.

Reimplemented in cppuhelper::ServiceManager, and cppuhelper::TypeManager.

Definition at line 82 of file cppuhelper/inc/compbase2.hxx.

◆ removeEventListener()

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

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