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 40 of file instancelocker.hxx.

Constructor & Destructor Documentation

◆ OInstanceLocker()

OInstanceLocker::OInstanceLocker ( )
explicit

Definition at line 45 of file instancelocker.cxx.

References m_bDisposed.

◆ ~OInstanceLocker()

OInstanceLocker::~OInstanceLocker ( )
overridevirtual

Definition at line 52 of file instancelocker.cxx.

References dispose(), m_bDisposed, and m_refCount.

Member Function Documentation

◆ addEventListener()

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

◆ dispose()

void SAL_CALL OInstanceLocker::dispose ( void  )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL OInstanceLocker::getImplementationName ( )
overridevirtual

Definition at line 174 of file instancelocker.cxx.

◆ getSupportedServiceNames()

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

Definition at line 184 of file instancelocker.cxx.

◆ initialize()

void SAL_CALL OInstanceLocker::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ removeEventListener()

void SAL_CALL OInstanceLocker::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL OInstanceLocker::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 179 of file instancelocker.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aListenersContainer

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

Definition at line 48 of file instancelocker.hxx.

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

◆ m_aMutex

std::mutex OInstanceLocker::m_aMutex
private

Definition at line 44 of file instancelocker.hxx.

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

◆ m_bDisposed

bool OInstanceLocker::m_bDisposed
private

Definition at line 50 of file instancelocker.hxx.

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

◆ m_bInitialized

bool OInstanceLocker::m_bInitialized
private

Definition at line 51 of file instancelocker.hxx.

Referenced by initialize().

◆ m_xLockListener

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

Definition at line 46 of file instancelocker.hxx.

Referenced by dispose(), and initialize().


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