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

#include <sbamultiplex.hxx>

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

Public Member Functions

 SbaXStatusMultiplexer (::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 statusChanged (const css::frame::FeatureStateEvent &e) override
 
const css::frame::FeatureStateEvent & getLastEvent () 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 > ()
 
- Public Member Functions inherited from comphelper::OInterfaceContainerHelper3< css::frame::XStatusListener >
 OInterfaceContainerHelper3 (::osl::Mutex &rMutex_)
 
sal_Int32 getLength () const
 
std::vector< css::uno::Reference< ListenerT > > getElements () const
 
sal_Int32 addInterface (const css::uno::Reference< ListenerT > &rxIFace)
 
sal_Int32 removeInterface (const css::uno::Reference< ListenerT > &rxIFace)
 
const css::uno::Reference< ListenerT > & getInterface (sal_Int32 nIndex) const
 
void disposeAndClear (const css::lang::EventObject &rEvt)
 
void clear ()
 
void forEach (FuncT const &func)
 
void notifyEach (void(SAL_CALL ListenerT::*NotificationMethod)(const EventT &), const EventT &Event)
 

Private Attributes

css::frame::FeatureStateEvent m_aLastKnownStatus
 

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 55 of file sbamultiplex.hxx.

Constructor & Destructor Documentation

◆ SbaXStatusMultiplexer()

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

Definition at line 28 of file sbamultiplex.cxx.

Member Function Documentation

◆ disposing()

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

Definition at line 45 of file sbamultiplex.cxx.

◆ getLastEvent()

const css::frame::FeatureStateEvent & dbaui::SbaXStatusMultiplexer::getLastEvent ( ) const
inline

Definition at line 73 of file sbamultiplex.hxx.

References m_aLastKnownStatus.

◆ queryInterface()

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

Reimplemented from cppu::OWeakObject.

Definition at line 34 of file sbamultiplex.cxx.

References cppu::OWeakObject::queryInterface().

◆ statusChanged()

void SAL_CALL SbaXStatusMultiplexer::statusChanged ( const css::frame::FeatureStateEvent &  e)
overridevirtual

Member Data Documentation

◆ m_aLastKnownStatus

css::frame::FeatureStateEvent dbaui::SbaXStatusMultiplexer::m_aLastKnownStatus
private

Definition at line 71 of file sbamultiplex.hxx.

Referenced by getLastEvent(), and statusChanged().


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