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

#include <instancelocker.hxx>

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

Public Member Functions

 OLockListener (const css::uno::WeakReference< css::lang::XComponent > &xWrapper, const css::uno::Reference< css::uno::XInterface > &xInstance, sal_Int32 nMode, const css::uno::Reference< css::embed::XActionsApproval > &rApproval)
 
virtual ~OLockListener () override
 
void Init ()
 
void Dispose ()
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL queryClosing (const css::lang::EventObject &Source, sal_Bool GetsOwnership) override
 
virtual void SAL_CALL notifyClosing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL queryTermination (const css::lang::EventObject &Event) override
 
virtual void SAL_CALL notifyTermination (const css::lang::EventObject &Event) override
 

Private Attributes

::osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XInterface > m_xInstance
 
css::uno::Reference< css::embed::XActionsApproval > m_xApproval
 
css::uno::WeakReference< css::lang::XComponent > m_xWrapper
 
bool m_bDisposed
 
bool m_bInitialized
 
sal_Int32 m_nMode
 

Detailed Description

Definition at line 75 of file instancelocker.hxx.

Constructor & Destructor Documentation

OLockListener::OLockListener ( const css::uno::WeakReference< css::lang::XComponent > &  xWrapper,
const css::uno::Reference< css::uno::XInterface > &  xInstance,
sal_Int32  nMode,
const css::uno::Reference< css::embed::XActionsApproval > &  rApproval 
)

Definition at line 195 of file instancelocker.cxx.

OLockListener::~OLockListener ( )
overridevirtual

Definition at line 209 of file instancelocker.cxx.

Member Function Documentation

void OLockListener::Dispose ( )

Definition at line 214 of file instancelocker.cxx.

References m_aMutex, m_bDisposed, m_nMode, and m_xInstance.

void SAL_CALL OLockListener::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 254 of file instancelocker.cxx.

References m_aMutex, m_nMode, m_xInstance, m_xWrapper, and xComponent.

void OLockListener::Init ( void  )
void SAL_CALL OLockListener::notifyClosing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 307 of file instancelocker.cxx.

References m_aMutex, m_nMode, m_xInstance, m_xWrapper, and xComponent.

void SAL_CALL OLockListener::notifyTermination ( const css::lang::EventObject &  Event)
overridevirtual

Definition at line 365 of file instancelocker.cxx.

References m_aMutex, m_nMode, m_xInstance, m_xWrapper, and xComponent.

void SAL_CALL OLockListener::queryClosing ( const css::lang::EventObject &  Source,
sal_Bool  GetsOwnership 
)
overridevirtual

Definition at line 278 of file instancelocker.cxx.

References m_aMutex, m_bDisposed, m_nMode, m_xApproval, and m_xInstance.

void SAL_CALL OLockListener::queryTermination ( const css::lang::EventObject &  Event)
overridevirtual

Definition at line 337 of file instancelocker.cxx.

References m_aMutex, m_nMode, m_xApproval, and m_xInstance.

Member Data Documentation

::osl::Mutex OLockListener::m_aMutex
private
bool OLockListener::m_bDisposed
private

Definition at line 84 of file instancelocker.hxx.

Referenced by Dispose(), Init(), and queryClosing().

bool OLockListener::m_bInitialized
private

Definition at line 85 of file instancelocker.hxx.

Referenced by Init().

sal_Int32 OLockListener::m_nMode
private
css::uno::Reference< css::embed::XActionsApproval > OLockListener::m_xApproval
private

Definition at line 80 of file instancelocker.hxx.

Referenced by queryClosing(), and queryTermination().

css::uno::Reference< css::uno::XInterface > OLockListener::m_xInstance
private
css::uno::WeakReference< css::lang::XComponent > OLockListener::m_xWrapper
private

Definition at line 82 of file instancelocker.hxx.

Referenced by disposing(), Init(), notifyClosing(), and notifyTermination().


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