LibreOffice Module cppuhelper (master) 1
Public Member Functions | Public Attributes | List of all members
com::sun::star::uno::OWeakRefListener Class Referencefinal
Inheritance diagram for com::sun::star::uno::OWeakRefListener:
[legend]
Collaboration diagram for com::sun::star::uno::OWeakRefListener:
[legend]

Public Member Functions

 OWeakRefListener (const Reference< XInterface > &xInt)
 
 OWeakRefListener (const Reference< XWeak > &xInt)
 
virtual ~OWeakRefListener ()
 
 OWeakRefListener (const OWeakRefListener &)=delete
 
const OWeakRefListeneroperator= (const OWeakRefListener &)=delete
 
Any SAL_CALL queryInterface (const Type &rType) override
 
void SAL_CALL acquire () noexcept override
 
void SAL_CALL release () noexcept override
 
void SAL_CALL dispose () override
 

Public Attributes

oslInterlockedCount m_aRefCount
 The reference counter. More...
 
Reference< XAdapter > m_XWeakConnectionPoint
 The connection point of the weak object, guarded by getWeakMutex() More...
 

Detailed Description

Definition at line 330 of file weak.cxx.

Constructor & Destructor Documentation

◆ OWeakRefListener() [1/3]

com::sun::star::uno::OWeakRefListener::OWeakRefListener ( const Reference< XInterface > &  xInt)
explicit

Definition at line 355 of file weak.cxx.

References m_aRefCount, and m_XWeakConnectionPoint.

◆ OWeakRefListener() [2/3]

com::sun::star::uno::OWeakRefListener::OWeakRefListener ( const Reference< XWeak > &  xInt)
explicit

Definition at line 376 of file weak.cxx.

References m_aRefCount, and m_XWeakConnectionPoint.

◆ ~OWeakRefListener()

com::sun::star::uno::OWeakRefListener::~OWeakRefListener ( )
virtual

Definition at line 388 of file weak.cxx.

References acquire(), and m_XWeakConnectionPoint.

◆ OWeakRefListener() [3/3]

com::sun::star::uno::OWeakRefListener::OWeakRefListener ( const OWeakRefListener )
delete

Member Function Documentation

◆ acquire()

void SAL_CALL com::sun::star::uno::OWeakRefListener::acquire ( )
overridenoexcept

Definition at line 409 of file weak.cxx.

References m_aRefCount.

Referenced by ~OWeakRefListener().

◆ dispose()

void SAL_CALL com::sun::star::uno::OWeakRefListener::dispose ( void  )
override

Definition at line 421 of file weak.cxx.

References cppu::gpWeakMutex, and m_XWeakConnectionPoint.

◆ operator=()

const OWeakRefListener & com::sun::star::uno::OWeakRefListener::operator= ( const OWeakRefListener )
delete

References Any.

◆ queryInterface()

Any SAL_CALL com::sun::star::uno::OWeakRefListener::queryInterface ( const Type rType)
override

Definition at line 402 of file weak.cxx.

References Any, and cppu::queryInterface().

◆ release()

void SAL_CALL com::sun::star::uno::OWeakRefListener::release ( )
overridenoexcept

Definition at line 415 of file weak.cxx.

References m_aRefCount.

Member Data Documentation

◆ m_aRefCount

oslInterlockedCount com::sun::star::uno::OWeakRefListener::m_aRefCount

The reference counter.

Definition at line 350 of file weak.cxx.

Referenced by acquire(), OWeakRefListener(), and release().

◆ m_XWeakConnectionPoint

Reference< XAdapter > com::sun::star::uno::OWeakRefListener::m_XWeakConnectionPoint

The connection point of the weak object, guarded by getWeakMutex()

Definition at line 352 of file weak.cxx.

Referenced by dispose(), OWeakRefListener(), and ~OWeakRefListener().


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