LibreOffice Module dbaccess (master) 1
|
#include <sbamultiplex.hxx>
Public Member Functions | |
SbaXVetoableChangeMultiplexer (::cppu::OWeakObject &rSource, ::osl::Mutex &rMutex) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | vetoableChange (const css::beans::PropertyChangeEvent &e) override |
void | addInterface (const OUString &rName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener) |
void | removeInterface (const OUString &rName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener) |
void | disposeAndClear () |
sal_Int32 | getOverallLen () const |
Public Member Functions inherited from dbaui::OSbaWeakSubObject | |
OSbaWeakSubObject (::cppu::OWeakObject &rParent) | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Types | |
typedef ::comphelper::OMultiTypeInterfaceContainerHelperVar3< css::beans::XVetoableChangeListener, OUString > | ListenerContainerMap |
Private Member Functions | |
void | Notify (::comphelper::OInterfaceContainerHelper3< css::beans::XVetoableChangeListener > &rListeners, const css::beans::PropertyChangeEvent &e) |
Private Attributes | |
ListenerContainerMap | m_aListeners |
Additional Inherited Members | |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from dbaui::OSbaWeakSubObject | |
::cppu::OWeakObject & | m_rParent |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 255 of file sbamultiplex.hxx.
|
private |
Definition at line 259 of file sbamultiplex.hxx.
SbaXVetoableChangeMultiplexer::SbaXVetoableChangeMultiplexer | ( | ::cppu::OWeakObject & | rSource, |
::osl::Mutex & | rMutex | ||
) |
Definition at line 423 of file sbamultiplex.cxx.
References m_aListeners.
void SbaXVetoableChangeMultiplexer::addInterface | ( | const OUString & | rName, |
const css::uno::Reference< css::beans::XVetoableChangeListener > & | rListener | ||
) |
Definition at line 455 of file sbamultiplex.cxx.
References comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::addInterface(), and m_aListeners.
Referenced by dbaui::SbaXFormAdapter::addVetoableChangeListener().
void SbaXVetoableChangeMultiplexer::disposeAndClear | ( | ) |
Definition at line 467 of file sbamultiplex.cxx.
References comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::disposeAndClear(), m_aListeners, and dbaui::OSbaWeakSubObject::m_rParent.
Referenced by dbaui::SbaXFormAdapter::dispose().
|
overridevirtual |
Definition at line 440 of file sbamultiplex.cxx.
sal_Int32 SbaXVetoableChangeMultiplexer::getOverallLen | ( | ) | const |
Definition at line 473 of file sbamultiplex.cxx.
References comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::getContainedTypes(), comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::getContainer(), comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), and m_aListeners.
Referenced by dbaui::SbaXFormAdapter::addVetoableChangeListener(), dbaui::SbaXFormAdapter::removeVetoableChangeListener(), dbaui::SbaXFormAdapter::StartListening(), and dbaui::SbaXFormAdapter::StopListening().
|
private |
Definition at line 487 of file sbamultiplex.cxx.
References dbaui::OSbaWeakSubObject::m_rParent, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by vetoableChange().
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 429 of file sbamultiplex.cxx.
References cppu::OWeakObject::queryInterface().
void SbaXVetoableChangeMultiplexer::removeInterface | ( | const OUString & | rName, |
const css::uno::Reference< css::beans::XVetoableChangeListener > & | rListener | ||
) |
Definition at line 461 of file sbamultiplex.cxx.
References m_aListeners, and comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::removeInterface().
Referenced by dbaui::SbaXFormAdapter::removeVetoableChangeListener().
|
overridevirtual |
Definition at line 443 of file sbamultiplex.cxx.
References comphelper::OMultiTypeInterfaceContainerHelperVar3< class listener, class key, class equalImpl >::getContainer(), m_aListeners, and Notify().
|
private |
Definition at line 260 of file sbamultiplex.hxx.
Referenced by addInterface(), disposeAndClear(), getOverallLen(), removeInterface(), and vetoableChange().