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)
 
virtual ~OWeakRefListener ()
 
 OWeakRefListener (const OWeakRefListener &)=delete
 
const OWeakRefListeneroperator= (const OWeakRefListener &)=delete
 
Any SAL_CALL queryInterface (const Type &rType) override
 
void SAL_CALL acquire () override throw ()
 
void SAL_CALL release () override throw ()
 
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 334 of file weak.cxx.

Constructor & Destructor Documentation

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

Definition at line 358 of file weak.cxx.

References m_aRefCount, and m_XWeakConnectionPoint.

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

Definition at line 379 of file weak.cxx.

References acquire(), and m_XWeakConnectionPoint.

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

Member Function Documentation

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

Definition at line 400 of file weak.cxx.

References m_aRefCount.

Referenced by ~OWeakRefListener().

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

Definition at line 412 of file weak.cxx.

References cppu::getWeakMutex(), and m_XWeakConnectionPoint.

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

Definition at line 393 of file weak.cxx.

References Any, and cppu::queryInterface().

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

Definition at line 406 of file weak.cxx.

References m_aRefCount.

Member Data Documentation

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

The reference counter.

Definition at line 353 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 355 of file weak.cxx.

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


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