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

#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 The interfaces are searched by type. More...
 
virtual void SAL_CALL acquire () override throw ()
 increment refcount XInterface release() A RuntimeException is thrown. More...
 
virtual void SAL_CALL release () override throw ()
 decrement refcount XInterface acquire() 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
 
::cppu::OMultiTypeInterfaceContainerHelperimpl_getMultiTypeContainer ()
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
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
 
::cppu::OMultiTypeInterfaceContainerHelper 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 31 of file OConnectionPointContainerHelper.hxx.

Constructor & Destructor Documentation

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

Definition at line 37 of file OConnectionPointContainerHelper.cxx.

unocontrols::OConnectionPointContainerHelper::~OConnectionPointContainerHelper ( )
overridevirtual

Definition at line 43 of file OConnectionPointContainerHelper.cxx.

Member Function Documentation

void SAL_CALL unocontrols::OConnectionPointContainerHelper::acquire ( )
throw (
)
overridevirtual

increment refcount XInterface release() A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 72 of file OConnectionPointContainerHelper.cxx.

void SAL_CALL unocontrols::OConnectionPointContainerHelper::advise ( const css::uno::Type &  aType,
const css::uno::Reference< css::uno::XInterface > &  xListener 
)
overridevirtual
Sequence< Type > SAL_CALL unocontrols::OConnectionPointContainerHelper::getConnectionPointTypes ( )
overridevirtual
::cppu::OMultiTypeInterfaceContainerHelper& unocontrols::OConnectionPointContainerHelper::impl_getMultiTypeContainer ( )
inline
Reference< XConnectionPoint > SAL_CALL unocontrols::OConnectionPointContainerHelper::queryConnectionPoint ( const css::uno::Type &  aType)
overridevirtual
Any SAL_CALL unocontrols::OConnectionPointContainerHelper::queryInterface ( const css::uno::Type &  aType)
overridevirtual

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

XInterface

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

A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 49 of file OConnectionPointContainerHelper.cxx.

References Any, and cppu::queryInterface().

void SAL_CALL unocontrols::OConnectionPointContainerHelper::release ( )
throw (
)
overridevirtual

decrement refcount XInterface acquire() A RuntimeException is thrown.

Reimplemented from cppu::OWeakObject.

Definition at line 83 of file OConnectionPointContainerHelper.cxx.

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

Member Data Documentation

::cppu::OMultiTypeInterfaceContainerHelper unocontrols::OConnectionPointContainerHelper::m_aMultiTypeContainer
private
::osl::Mutex& unocontrols::OConnectionPointContainerHelper::m_aSharedMutex
private

Definition at line 99 of file OConnectionPointContainerHelper.hxx.

Referenced by queryConnectionPoint().


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