LibreOffice Module UnoControls (master) 1
|
#include <OConnectionPointContainerHelper.hxx>
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::OMultiTypeInterfaceContainerHelper2 & | impl_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 |
Definition at line 30 of file OConnectionPointContainerHelper.hxx.
unocontrols::OConnectionPointContainerHelper::OConnectionPointContainerHelper | ( | ::osl::Mutex & | aMutex | ) |
Definition at line 38 of file OConnectionPointContainerHelper.cxx.
References aMutex.
|
overridevirtual |
Definition at line 44 of file OConnectionPointContainerHelper.cxx.
|
overridevirtualnoexcept |
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
Reimplemented from cppu::OWeakObject.
Definition at line 73 of file OConnectionPointContainerHelper.cxx.
|
overridevirtual |
Definition at line 123 of file OConnectionPointContainerHelper.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::addInterface(), and m_aMultiTypeContainer.
Referenced by unocontrols::OConnectionPointHelper::advise().
|
overridevirtual |
Definition at line 95 of file OConnectionPointContainerHelper.cxx.
References comphelper::containerToSequence(), comphelper::OMultiTypeInterfaceContainerHelper2::getContainedTypes(), and m_aMultiTypeContainer.
|
inline |
Definition at line 95 of file OConnectionPointContainerHelper.hxx.
References m_aMultiTypeContainer.
Referenced by unocontrols::OConnectionPointHelper::getConnections().
|
overridevirtual |
Definition at line 103 of file OConnectionPointContainerHelper.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::getContainer(), comphelper::OInterfaceContainerHelper2::getLength(), m_aMultiTypeContainer, and m_aSharedMutex.
|
overridevirtual |
give answer, if interface is supported @descr The interfaces are searched by type.
@seealso XInterface
rType | is the type of searched interface. |
@onerror A RuntimeException is thrown.
Reimplemented from cppu::OWeakObject.
Definition at line 50 of file OConnectionPointContainerHelper.cxx.
References Any.
|
overridevirtualnoexcept |
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
Reimplemented from cppu::OWeakObject.
Definition at line 84 of file OConnectionPointContainerHelper.cxx.
|
overridevirtual |
Definition at line 132 of file OConnectionPointContainerHelper.cxx.
References m_aMultiTypeContainer, and comphelper::OMultiTypeInterfaceContainerHelper2::removeInterface().
Referenced by unocontrols::OConnectionPointHelper::unadvise().
|
private |
Definition at line 99 of file OConnectionPointContainerHelper.hxx.
Referenced by advise(), getConnectionPointTypes(), impl_getMultiTypeContainer(), queryConnectionPoint(), and unadvise().
|
private |
Definition at line 98 of file OConnectionPointContainerHelper.hxx.
Referenced by queryConnectionPoint().