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:
Collaboration diagram for com::sun::star::uno::OWeakRefListener:

Public Member Functions

 OWeakRefListener (const Reference< XInterface > &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 342 of file weak.cxx.

Constructor & Destructor Documentation

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

Definition at line 366 of file weak.cxx.

References m_aRefCount, and m_XWeakConnectionPoint.

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

Definition at line 387 of file weak.cxx.

References acquire(), and m_XWeakConnectionPoint.

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

Member Function Documentation

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

Definition at line 408 of file weak.cxx.

References m_aRefCount.

Referenced by ~OWeakRefListener().

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

Definition at line 420 of file weak.cxx.

References cppu::gpWeakMutex, and m_XWeakConnectionPoint.

const OWeakRefListener& com::sun::star::uno::OWeakRefListener::operator= ( const OWeakRefListener )
Any SAL_CALL com::sun::star::uno::OWeakRefListener::queryInterface ( const Type rType)

Definition at line 401 of file weak.cxx.

References Any, and cppu::queryInterface().

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

Definition at line 414 of file weak.cxx.

References m_aRefCount.

Member Data Documentation

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

The reference counter.

Definition at line 361 of file weak.cxx.

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

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

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

Definition at line 363 of file weak.cxx.

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

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