LibreOffice Module UnoControls (master) 1
Public Member Functions | Private Attributes | List of all members
unocontrols::OConnectionPointContainerHelper Class Referencefinal

#include <OConnectionPointContainerHelper.hxx>

Inheritance diagram for unocontrols::OConnectionPointContainerHelper:
[legend]
Collaboration diagram for unocontrols::OConnectionPointContainerHelper:
[legend]

Public Member Functions

 OConnectionPointContainerHelper (::osl::Mutex &aMutex)
 
virtual ~OConnectionPointContainerHelper () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 give answer, if interface is supported @descr The interfaces are searched by type. More...
 
virtual void SAL_CALL acquire () noexcept override
 increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown. More...
 
virtual void SAL_CALL release () noexcept override
 decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown. More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getConnectionPointTypes () override
 
virtual css::uno::Reference< css::lang::XConnectionPoint > SAL_CALL queryConnectionPoint (const css::uno::Type &aType) override
 
virtual void SAL_CALL advise (const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override
 
virtual void SAL_CALL unadvise (const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override
 
comphelper::OMultiTypeInterfaceContainerHelper2impl_getMultiTypeContainer ()
 
- 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 > ()
 

Private Attributes

::osl::Mutex & m_aSharedMutex
 
comphelper::OMultiTypeInterfaceContainerHelper2 m_aMultiTypeContainer
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 30 of file OConnectionPointContainerHelper.hxx.

Constructor & Destructor Documentation

◆ OConnectionPointContainerHelper()

unocontrols::OConnectionPointContainerHelper::OConnectionPointContainerHelper ( ::osl::Mutex &  aMutex)

Definition at line 38 of file OConnectionPointContainerHelper.cxx.

References aMutex.

◆ ~OConnectionPointContainerHelper()

unocontrols::OConnectionPointContainerHelper::~OConnectionPointContainerHelper ( )
overridevirtual

Definition at line 44 of file OConnectionPointContainerHelper.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL unocontrols::OConnectionPointContainerHelper::acquire ( )
overridevirtualnoexcept

increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 73 of file OConnectionPointContainerHelper.cxx.

◆ advise()

void SAL_CALL unocontrols::OConnectionPointContainerHelper::advise ( const css::uno::Type &  aType,
const css::uno::Reference< css::uno::XInterface > &  xListener 
)
overridevirtual

◆ getConnectionPointTypes()

Sequence< Type > SAL_CALL unocontrols::OConnectionPointContainerHelper::getConnectionPointTypes ( )
overridevirtual

◆ impl_getMultiTypeContainer()

comphelper::OMultiTypeInterfaceContainerHelper2 & unocontrols::OConnectionPointContainerHelper::impl_getMultiTypeContainer ( )
inline

◆ queryConnectionPoint()

Reference< XConnectionPoint > SAL_CALL unocontrols::OConnectionPointContainerHelper::queryConnectionPoint ( const css::uno::Type &  aType)
overridevirtual

◆ queryInterface()

Any SAL_CALL unocontrols::OConnectionPointContainerHelper::queryInterface ( const css::uno::Type &  aType)
overridevirtual

give answer, if interface is supported @descr The interfaces are searched by type.

@seealso XInterface

Parameters
rTypeis the type of searched interface.
Returns
Any information about found interface

@onerror A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 50 of file OConnectionPointContainerHelper.cxx.

References Any.

◆ release()

void SAL_CALL unocontrols::OConnectionPointContainerHelper::release ( )
overridevirtualnoexcept

decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 84 of file OConnectionPointContainerHelper.cxx.

◆ unadvise()

void SAL_CALL unocontrols::OConnectionPointContainerHelper::unadvise ( const css::uno::Type &  aType,
const css::uno::Reference< css::uno::XInterface > &  xListener 
)
overridevirtual

Member Data Documentation

◆ m_aMultiTypeContainer

comphelper::OMultiTypeInterfaceContainerHelper2 unocontrols::OConnectionPointContainerHelper::m_aMultiTypeContainer
private

◆ m_aSharedMutex

::osl::Mutex& unocontrols::OConnectionPointContainerHelper::m_aSharedMutex
private

Definition at line 98 of file OConnectionPointContainerHelper.hxx.

Referenced by queryConnectionPoint().


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