LibreOffice Module UnoControls (master) 1
|
#include <OConnectionPointHelper.hxx>
Public Member Functions | |
OConnectionPointHelper (::osl::Mutex &aMutex, OConnectionPointContainerHelper *pContainerImplementation, css::uno::Type const &aType) | |
virtual | ~OConnectionPointHelper () 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::Type SAL_CALL | getConnectionType () override |
virtual css::uno::Reference< css::lang::XConnectionPointContainer > SAL_CALL | getConnectionPointContainer () override |
virtual void SAL_CALL | advise (const css::uno::Reference< css::uno::XInterface > &xListener) override |
virtual void SAL_CALL | unadvise (const css::uno::Reference< css::uno::XInterface > &xListener) override |
virtual css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > SAL_CALL | getConnections () override |
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 Member Functions | |
bool | impl_LockContainer () |
void | impl_UnlockContainer () |
Private Attributes | |
::osl::Mutex & | m_aSharedMutex |
css::uno::WeakReference< css::lang::XConnectionPointContainer > | m_oContainerWeakReference |
OConnectionPointContainerHelper * | m_pContainerImplementation |
css::uno::Type | m_aInterfaceType |
css::uno::Reference< css::uno::XInterface > | m_xLock |
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 31 of file OConnectionPointHelper.hxx.
unocontrols::OConnectionPointHelper::OConnectionPointHelper | ( | ::osl::Mutex & | aMutex, |
OConnectionPointContainerHelper * | pContainerImplementation, | ||
css::uno::Type const & | aType | ||
) |
Definition at line 39 of file OConnectionPointHelper.cxx.
References aMutex.
|
overridevirtual |
Definition at line 50 of file OConnectionPointHelper.cxx.
|
overridevirtualnoexcept |
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
Reimplemented from cppu::OWeakObject.
Definition at line 79 of file OConnectionPointHelper.cxx.
|
overridevirtual |
Definition at line 132 of file OConnectionPointHelper.cxx.
References unocontrols::OConnectionPointContainerHelper::advise(), Any, impl_LockContainer(), impl_UnlockContainer(), m_aInterfaceType, m_aSharedMutex, and m_pContainerImplementation.
|
overridevirtual |
Definition at line 122 of file OConnectionPointHelper.cxx.
References m_aSharedMutex, and m_oContainerWeakReference.
|
overridevirtual |
Definition at line 180 of file OConnectionPointHelper.cxx.
References comphelper::containerToSequence(), comphelper::OMultiTypeInterfaceContainerHelper2::getContainer(), comphelper::OInterfaceContainerHelper2::getElements(), unocontrols::OConnectionPointContainerHelper::impl_getMultiTypeContainer(), impl_LockContainer(), impl_UnlockContainer(), m_aInterfaceType, m_aSharedMutex, and m_pContainerImplementation.
|
overridevirtual |
Definition at line 101 of file OConnectionPointHelper.cxx.
References impl_LockContainer(), impl_UnlockContainer(), m_aInterfaceType, and m_aSharedMutex.
|
private |
Definition at line 208 of file OConnectionPointHelper.cxx.
References m_oContainerWeakReference, and m_xLock.
Referenced by advise(), getConnections(), getConnectionType(), and unadvise().
|
private |
Definition at line 219 of file OConnectionPointHelper.cxx.
References m_xLock.
Referenced by advise(), getConnections(), getConnectionType(), and unadvise().
|
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 56 of file OConnectionPointHelper.cxx.
References Any.
|
overridevirtualnoexcept |
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
Reimplemented from cppu::OWeakObject.
Definition at line 90 of file OConnectionPointHelper.cxx.
|
overridevirtual |
Definition at line 162 of file OConnectionPointHelper.cxx.
References impl_LockContainer(), impl_UnlockContainer(), m_aInterfaceType, m_aSharedMutex, m_pContainerImplementation, and unocontrols::OConnectionPointContainerHelper::unadvise().
|
private |
Definition at line 101 of file OConnectionPointHelper.hxx.
Referenced by advise(), getConnections(), getConnectionType(), and unadvise().
|
private |
Definition at line 97 of file OConnectionPointHelper.hxx.
Referenced by advise(), getConnectionPointContainer(), getConnections(), getConnectionType(), and unadvise().
|
private |
Definition at line 98 of file OConnectionPointHelper.hxx.
Referenced by getConnectionPointContainer(), and impl_LockContainer().
|
private |
Definition at line 100 of file OConnectionPointHelper.hxx.
Referenced by advise(), getConnections(), and unadvise().
|
private |
Definition at line 102 of file OConnectionPointHelper.hxx.
Referenced by impl_LockContainer(), and impl_UnlockContainer().