24#include <com/sun/star/lang/InvalidListenerException.hpp>
31using namespace ::
cppu;
43) : m_aSharedMutex (
aMutex )
44 , m_oContainerWeakReference ( pContainerImplementation )
45 , m_pContainerImplementation ( pContainerImplementation )
46 , m_aInterfaceType ( aType )
62 Any aReturn ( ::cppu::queryInterface( aType ,
63 static_cast< XConnectionPoint*
> (
this )
68 if ( !aReturn.hasValue() )
71 aReturn = OWeakObject::queryInterface( aType );
85 OWeakObject::acquire();
96 OWeakObject::release();
139 if ( aCheckType.hasValue() )
142 throw InvalidListenerException();
190 Sequence< Reference< XInterface > > seqReturnConnections;
196 if ( pSpecialContainer !=
nullptr )
203 return seqReturnConnections;
std::vector< css::uno::Reference< css::uno::XInterface > > getElements() const
OInterfaceContainerHelper2 * getContainer(const css::uno::Type &rKey) const
comphelper::OMultiTypeInterfaceContainerHelper2 & impl_getMultiTypeContainer()
virtual void SAL_CALL unadvise(const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override
virtual void SAL_CALL advise(const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override
virtual css::uno::Reference< css::lang::XConnectionPointContainer > SAL_CALL getConnectionPointContainer() override
virtual css::uno::Type SAL_CALL getConnectionType() override
virtual void SAL_CALL acquire() noexcept override
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
css::uno::WeakReference< css::lang::XConnectionPointContainer > m_oContainerWeakReference
css::uno::Type m_aInterfaceType
css::uno::Reference< css::uno::XInterface > m_xLock
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.
virtual void SAL_CALL release() noexcept override
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
virtual void SAL_CALL advise(const css::uno::Reference< css::uno::XInterface > &xListener) override
OConnectionPointContainerHelper * m_pContainerImplementation
bool impl_LockContainer()
virtual void SAL_CALL unadvise(const css::uno::Reference< css::uno::XInterface > &xListener) override
virtual ~OConnectionPointHelper() override
void impl_UnlockContainer()
::osl::Mutex & m_aSharedMutex
virtual css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > SAL_CALL getConnections() override
OConnectionPointHelper(::osl::Mutex &aMutex, OConnectionPointContainerHelper *pContainerImplementation, css::uno::Type const &aType)
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)