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

#include <sbamultiplex.hxx>

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

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::OWeakObjectm_rParent
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 255 of file sbamultiplex.hxx.

Member Typedef Documentation

◆ ListenerContainerMap

Definition at line 259 of file sbamultiplex.hxx.

Constructor & Destructor Documentation

◆ SbaXVetoableChangeMultiplexer()

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

Definition at line 423 of file sbamultiplex.cxx.

References m_aListeners.

Member Function Documentation

◆ addInterface()

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

◆ disposeAndClear()

void SbaXVetoableChangeMultiplexer::disposeAndClear ( )

◆ disposing()

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

Definition at line 440 of file sbamultiplex.cxx.

◆ getOverallLen()

sal_Int32 SbaXVetoableChangeMultiplexer::getOverallLen ( ) const

◆ Notify()

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

◆ queryInterface()

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

Reimplemented from cppu::OWeakObject.

Definition at line 429 of file sbamultiplex.cxx.

References cppu::OWeakObject::queryInterface().

◆ removeInterface()

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

◆ vetoableChange()

void SAL_CALL SbaXVetoableChangeMultiplexer::vetoableChange ( const css::beans::PropertyChangeEvent &  e)
overridevirtual

Member Data Documentation

◆ m_aListeners

ListenerContainerMap dbaui::SbaXVetoableChangeMultiplexer::m_aListeners
private

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