LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
dbaui::SbaXPropertyChangeMultiplexer Class Referencefinal

#include <sbamultiplex.hxx>

Inheritance diagram for dbaui::SbaXPropertyChangeMultiplexer:
[legend]
Collaboration diagram for dbaui::SbaXPropertyChangeMultiplexer:
[legend]

Public Member Functions

 SbaXPropertyChangeMultiplexer (::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 propertyChange (const css::beans::PropertyChangeEvent &e) override
 
void addInterface (const OUString &rName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rListener)
 
void removeInterface (const OUString &rName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rListener)
 
void disposeAndClear ()
 
sal_Int32 getOverallLen () const
 
::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > * getContainer (const OUString &rName)
 
- 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::XPropertyChangeListener, OUString > ListenerContainerMap
 

Private Member Functions

void Notify (::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > &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::OWeakObjectm_rParent
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 223 of file sbamultiplex.hxx.

Member Typedef Documentation

◆ ListenerContainerMap

Definition at line 227 of file sbamultiplex.hxx.

Constructor & Destructor Documentation

◆ SbaXPropertyChangeMultiplexer()

SbaXPropertyChangeMultiplexer::SbaXPropertyChangeMultiplexer ( ::cppu::OWeakObject rSource,
::osl::Mutex &  rMutex 
)

Definition at line 351 of file sbamultiplex.cxx.

References m_aListeners.

Member Function Documentation

◆ addInterface()

void SbaXPropertyChangeMultiplexer::addInterface ( const OUString &  rName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  rListener 
)

◆ disposeAndClear()

void SbaXPropertyChangeMultiplexer::disposeAndClear ( )

◆ disposing()

void SAL_CALL SbaXPropertyChangeMultiplexer::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 368 of file sbamultiplex.cxx.

◆ getContainer()

::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > * dbaui::SbaXPropertyChangeMultiplexer::getContainer ( const OUString &  rName)
inline

◆ getOverallLen()

sal_Int32 SbaXPropertyChangeMultiplexer::getOverallLen ( ) const

◆ Notify()

void SbaXPropertyChangeMultiplexer::Notify ( ::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > &  rListeners,
const css::beans::PropertyChangeEvent &  e 
)
private

◆ propertyChange()

void SAL_CALL SbaXPropertyChangeMultiplexer::propertyChange ( const css::beans::PropertyChangeEvent &  e)
overridevirtual

◆ queryInterface()

css::uno::Any SAL_CALL SbaXPropertyChangeMultiplexer::queryInterface ( const css::uno::Type &  _rType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 357 of file sbamultiplex.cxx.

References cppu::OWeakObject::queryInterface().

◆ removeInterface()

void SbaXPropertyChangeMultiplexer::removeInterface ( const OUString &  rName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  rListener 
)

Member Data Documentation

◆ m_aListeners

ListenerContainerMap dbaui::SbaXPropertyChangeMultiplexer::m_aListeners
private

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