LibreOffice Module comphelper (master) 1
|
#include <propmultiplex.hxx>
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::XPropertySet > | m_xSet |
OPropertyChangeListener * | m_pListener |
sal_Int32 | m_nLockCount |
bool | m_bListening: 1 |
bool const | m_bAutoSetRelease: 1 |
Friends | |
class | OPropertyChangeListener |
Definition at line 77 of file propmultiplex.hxx.
|
overrideprivatevirtual |
Definition at line 73 of file propmultiplex.cxx.
comphelper::OPropertyChangeMultiplexer::OPropertyChangeMultiplexer | ( | OPropertyChangeListener * | _pListener, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxSet, | ||
bool | _bAutoReleaseSet = true |
||
) |
Definition at line 62 of file propmultiplex.cxx.
References m_pListener, and comphelper::OPropertyChangeListener::setAdapter().
void comphelper::OPropertyChangeMultiplexer::addProperty | ( | const OUString & | aPropertyName | ) |
Definition at line 139 of file propmultiplex.cxx.
References m_aProperties, m_bListening, and m_xSet.
void comphelper::OPropertyChangeMultiplexer::dispose | ( | void | ) |
Definition at line 90 of file propmultiplex.cxx.
References m_aProperties, m_bAutoSetRelease, m_bListening, m_pListener, m_xSet, and comphelper::OPropertyChangeListener::setAdapter().
|
overridevirtual |
Definition at line 111 of file propmultiplex.cxx.
References comphelper::OPropertyChangeListener::_disposing(), locked(), m_bAutoSetRelease, m_bListening, m_pListener, m_xSet, and comphelper::OPropertyChangeListener::setAdapter().
void comphelper::OPropertyChangeMultiplexer::lock | ( | ) |
|
inline |
get the lock count
Definition at line 103 of file propmultiplex.hxx.
Referenced by disposing(), and propertyChange().
|
overridevirtual |
Definition at line 132 of file propmultiplex.cxx.
References comphelper::OPropertyChangeListener::_propertyChanged(), locked(), and m_pListener.
void comphelper::OPropertyChangeMultiplexer::unlock | ( | ) |
|
friend |
Definition at line 79 of file propmultiplex.hxx.
|
private |
Definition at line 80 of file propmultiplex.hxx.
Referenced by addProperty(), and dispose().
|
private |
Definition at line 85 of file propmultiplex.hxx.
Referenced by dispose(), and disposing().
|
private |
Definition at line 84 of file propmultiplex.hxx.
Referenced by addProperty(), dispose(), and disposing().
|
private |
Definition at line 83 of file propmultiplex.hxx.
|
private |
Definition at line 82 of file propmultiplex.hxx.
Referenced by dispose(), disposing(), OPropertyChangeMultiplexer(), and propertyChange().
|
private |
Definition at line 81 of file propmultiplex.hxx.
Referenced by addProperty(), dispose(), and disposing().