LibreOffice Module comphelper (master) 1
|
#include <instancelocker.hxx>
Public Member Functions | |
OInstanceLocker () | |
virtual | ~OInstanceLocker () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Attributes | |
std::mutex | m_aMutex |
rtl::Reference< OLockListener > | m_xLockListener |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aListenersContainer |
bool | m_bDisposed |
bool | m_bInitialized |
Definition at line 40 of file instancelocker.hxx.
|
explicit |
Definition at line 45 of file instancelocker.cxx.
References m_bDisposed.
|
overridevirtual |
Definition at line 52 of file instancelocker.cxx.
References dispose(), m_bDisposed, and m_refCount.
|
overridevirtual |
Definition at line 88 of file instancelocker.cxx.
References comphelper::OInterfaceContainerHelper4< ListenerT >::addInterface(), m_aListenersContainer, m_aMutex, and m_bDisposed.
|
overridevirtual |
Definition at line 67 of file instancelocker.cxx.
References comphelper::OInterfaceContainerHelper4< ListenerT >::disposeAndClear(), m_aListenersContainer, m_aMutex, m_bDisposed, and m_xLockListener.
Referenced by initialize(), and ~OInstanceLocker().
|
overridevirtual |
Definition at line 174 of file instancelocker.cxx.
|
overridevirtual |
Definition at line 184 of file instancelocker.cxx.
|
overridevirtual |
Definition at line 106 of file instancelocker.cxx.
References aArguments, dispose(), m_aMutex, m_bDisposed, m_bInitialized, m_refCount, and m_xLockListener.
|
overridevirtual |
Definition at line 98 of file instancelocker.cxx.
References m_aListenersContainer, m_aMutex, and comphelper::OInterfaceContainerHelper4< ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 179 of file instancelocker.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 48 of file instancelocker.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 44 of file instancelocker.hxx.
Referenced by addEventListener(), dispose(), initialize(), and removeEventListener().
|
private |
Definition at line 50 of file instancelocker.hxx.
Referenced by addEventListener(), dispose(), initialize(), and ~OInstanceLocker().
|
private |
Definition at line 51 of file instancelocker.hxx.
Referenced by initialize().
|
private |
Definition at line 46 of file instancelocker.hxx.
Referenced by dispose(), and initialize().