LibreOffice Module comphelper (master)  1
Public Member Functions | Private Attributes | List of all members
OInstanceLocker Class Reference

#include <instancelocker.hxx>

Inheritance diagram for OInstanceLocker:
[legend]
Collaboration diagram for OInstanceLocker:
[legend]

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< OLockListenerm_xLockListener
 
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aListenersContainer
 
bool m_bDisposed
 
bool m_bInitialized
 

Detailed Description

Definition at line 41 of file instancelocker.hxx.

Constructor & Destructor Documentation

OInstanceLocker::OInstanceLocker ( )
explicit

Definition at line 45 of file instancelocker.cxx.

References m_bDisposed.

OInstanceLocker::~OInstanceLocker ( )
overridevirtual

Definition at line 52 of file instancelocker.cxx.

References dispose(), m_bDisposed, and m_refCount.

Member Function Documentation

void SAL_CALL OInstanceLocker::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual
void SAL_CALL OInstanceLocker::dispose ( void  )
overridevirtual
OUString SAL_CALL OInstanceLocker::getImplementationName ( )
overridevirtual

Definition at line 175 of file instancelocker.cxx.

uno::Sequence< OUString > SAL_CALL OInstanceLocker::getSupportedServiceNames ( )
overridevirtual

Definition at line 185 of file instancelocker.cxx.

void SAL_CALL OInstanceLocker::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual
void SAL_CALL OInstanceLocker::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual
sal_Bool SAL_CALL OInstanceLocker::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 180 of file instancelocker.cxx.

References cppu::supportsService().

Member Data Documentation

comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> OInstanceLocker::m_aListenersContainer
private

Definition at line 49 of file instancelocker.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

std::mutex OInstanceLocker::m_aMutex
private

Definition at line 45 of file instancelocker.hxx.

Referenced by addEventListener(), dispose(), initialize(), and removeEventListener().

bool OInstanceLocker::m_bDisposed
private

Definition at line 51 of file instancelocker.hxx.

Referenced by addEventListener(), dispose(), initialize(), and ~OInstanceLocker().

bool OInstanceLocker::m_bInitialized
private

Definition at line 52 of file instancelocker.hxx.

Referenced by initialize().

rtl::Reference< OLockListener > OInstanceLocker::m_xLockListener
private

Definition at line 47 of file instancelocker.hxx.

Referenced by dispose(), and initialize().


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