LibreOffice Module comphelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
comphelper::OPropertyChangeMultiplexer Class Referencefinal

#include <propmultiplex.hxx>

Inheritance diagram for comphelper::OPropertyChangeMultiplexer:
Collaboration diagram for comphelper::OPropertyChangeMultiplexer:

Public Member Functions

 OPropertyChangeMultiplexer (OPropertyChangeListener *_pListener, const css::uno::Reference< css::beans::XPropertySet > &_rxSet, bool _bAutoReleaseSet=true)
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
void lock ()
 incremental lock More...
void unlock ()
 incremental unlock More...
sal_Int32 locked () const
 get the lock count More...
void addProperty (const OUString &aPropertyName)
void dispose ()

Private Member Functions

virtual ~OPropertyChangeMultiplexer () override

Private Attributes

std::vector< OUString > m_aProperties
css::uno::Reference< css::beans::XPropertySetm_xSet
sal_Int32 m_nLockCount
bool m_bListening: 1
bool const m_bAutoSetRelease: 1


class OPropertyChangeListener

Detailed Description

Definition at line 77 of file propmultiplex.hxx.

Constructor & Destructor Documentation

◆ ~OPropertyChangeMultiplexer()

comphelper::OPropertyChangeMultiplexer::~OPropertyChangeMultiplexer ( )

Definition at line 73 of file propmultiplex.cxx.

◆ OPropertyChangeMultiplexer()

comphelper::OPropertyChangeMultiplexer::OPropertyChangeMultiplexer ( OPropertyChangeListener _pListener,
const css::uno::Reference< css::beans::XPropertySet > &  _rxSet,
bool  _bAutoReleaseSet = true 

Member Function Documentation

◆ addProperty()

void comphelper::OPropertyChangeMultiplexer::addProperty ( const OUString &  aPropertyName)

Definition at line 139 of file propmultiplex.cxx.

References m_aProperties, m_bListening, and m_xSet.

◆ dispose()

void comphelper::OPropertyChangeMultiplexer::dispose ( void  )

◆ disposing()

void SAL_CALL comphelper::OPropertyChangeMultiplexer::disposing ( const css::lang::EventObject &  Source)

◆ lock()

void comphelper::OPropertyChangeMultiplexer::lock ( )

incremental lock

Definition at line 78 of file propmultiplex.cxx.

References m_nLockCount.

◆ locked()

sal_Int32 comphelper::OPropertyChangeMultiplexer::locked ( ) const

get the lock count

Definition at line 103 of file propmultiplex.hxx.

Referenced by disposing(), and propertyChange().

◆ propertyChange()

void SAL_CALL comphelper::OPropertyChangeMultiplexer::propertyChange ( const css::beans::PropertyChangeEvent &  evt)

◆ unlock()

void comphelper::OPropertyChangeMultiplexer::unlock ( )

incremental unlock

Definition at line 84 of file propmultiplex.cxx.

References m_nLockCount.

Friends And Related Function Documentation

◆ OPropertyChangeListener

friend class OPropertyChangeListener

Definition at line 79 of file propmultiplex.hxx.

Member Data Documentation

◆ m_aProperties

std::vector< OUString > comphelper::OPropertyChangeMultiplexer::m_aProperties

Definition at line 80 of file propmultiplex.hxx.

Referenced by addProperty(), and dispose().

◆ m_bAutoSetRelease

bool const comphelper::OPropertyChangeMultiplexer::m_bAutoSetRelease

Definition at line 85 of file propmultiplex.hxx.

Referenced by dispose(), and disposing().

◆ m_bListening

bool comphelper::OPropertyChangeMultiplexer::m_bListening

Definition at line 84 of file propmultiplex.hxx.

Referenced by addProperty(), dispose(), and disposing().

◆ m_nLockCount

sal_Int32 comphelper::OPropertyChangeMultiplexer::m_nLockCount

Definition at line 83 of file propmultiplex.hxx.

Referenced by lock(), and unlock().

◆ m_pListener

OPropertyChangeListener* comphelper::OPropertyChangeMultiplexer::m_pListener

Definition at line 82 of file propmultiplex.hxx.

Referenced by dispose(), disposing(), OPropertyChangeMultiplexer(), and propertyChange().

◆ m_xSet

css::uno::Reference< css::beans::XPropertySet> comphelper::OPropertyChangeMultiplexer::m_xSet

Definition at line 81 of file propmultiplex.hxx.

Referenced by addProperty(), dispose(), and disposing().

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