LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svxform::DispatchInterceptionMultiplexer Class Referencefinal

#include <formdispatchinterceptor.hxx>

Inheritance diagram for svxform::DispatchInterceptionMultiplexer:
[legend]
Collaboration diagram for svxform::DispatchInterceptionMultiplexer:
[legend]

Public Member Functions

css::uno::Reference< css::frame::XDispatchProviderInterception > getIntercepted () const
 
 DispatchInterceptionMultiplexer (const css::uno::Reference< css::frame::XDispatchProviderInterception > &_rToIntercept, DispatchInterceptor *_pMaster)
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override
 
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider () override
 
virtual void SAL_CALL setSlaveDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewDispatchProvider) override
 
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider () override
 
virtual void SAL_CALL setMasterDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &xNewSupplier) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL disposing () override
 

Private Member Functions

virtual ~DispatchInterceptionMultiplexer () override
 
void ImplDetach ()
 

Private Attributes

::osl::Mutex m_aFallback
 
::osl::Mutex * m_pMutex
 
css::uno::WeakReference< css::frame::XDispatchProviderInterception > m_xIntercepted
 
bool m_bListening
 
DispatchInterceptorm_pMaster
 
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatcher
 
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatcher
 

Detailed Description

Definition at line 54 of file formdispatchinterceptor.hxx.

Constructor & Destructor Documentation

◆ DispatchInterceptionMultiplexer()

svxform::DispatchInterceptionMultiplexer::DispatchInterceptionMultiplexer ( const css::uno::Reference< css::frame::XDispatchProviderInterception > &  _rToIntercept,
DispatchInterceptor _pMaster 
)

Definition at line 36 of file formdispatchinterceptor.cxx.

References m_bListening, m_pMutex, m_pMutex, and m_refCount.

◆ ~DispatchInterceptionMultiplexer()

svxform::DispatchInterceptionMultiplexer::~DispatchInterceptionMultiplexer ( )
overrideprivatevirtual

Definition at line 63 of file formdispatchinterceptor.cxx.

References dispose().

Member Function Documentation

◆ disposing() [1/2]

void svxform::DispatchInterceptionMultiplexer::disposing ( )
overridevirtual

Definition at line 158 of file formdispatchinterceptor.cxx.

References ImplDetach(), m_bListening, and m_xIntercepted.

◆ disposing() [2/2]

virtual void SAL_CALL svxform::DispatchInterceptionMultiplexer::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ getIntercepted()

css::uno::Reference< css::frame::XDispatchProviderInterception > svxform::DispatchInterceptionMultiplexer::getIntercepted ( ) const
inline

Definition at line 57 of file formdispatchinterceptor.hxx.

References m_xIntercepted.

◆ getMasterDispatchProvider()

Reference< XDispatchProvider > SAL_CALL svxform::DispatchInterceptionMultiplexer::getMasterDispatchProvider ( )
overridevirtual

Definition at line 113 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xMasterDispatcher.

◆ getSlaveDispatchProvider()

Reference< XDispatchProvider > SAL_CALL svxform::DispatchInterceptionMultiplexer::getSlaveDispatchProvider ( )
overridevirtual

Definition at line 99 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xSlaveDispatcher.

◆ ImplDetach()

void svxform::DispatchInterceptionMultiplexer::ImplDetach ( )
private

Definition at line 138 of file formdispatchinterceptor.cxx.

References m_aFallback, m_bListening, m_pMaster, m_pMutex, and m_xIntercepted.

Referenced by disposing().

◆ queryDispatch()

Reference< XDispatch > SAL_CALL svxform::DispatchInterceptionMultiplexer::queryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual

◆ queryDispatches()

Sequence< Reference< XDispatch > > SAL_CALL svxform::DispatchInterceptionMultiplexer::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  aDescripts)
overridevirtual

Definition at line 88 of file formdispatchinterceptor.cxx.

References m_pMutex.

◆ setMasterDispatchProvider()

void SAL_CALL svxform::DispatchInterceptionMultiplexer::setMasterDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  xNewSupplier)
overridevirtual

Definition at line 120 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xMasterDispatcher.

◆ setSlaveDispatchProvider()

void SAL_CALL svxform::DispatchInterceptionMultiplexer::setSlaveDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  xNewDispatchProvider)
overridevirtual

Definition at line 106 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xSlaveDispatcher.

Member Data Documentation

◆ m_aFallback

::osl::Mutex svxform::DispatchInterceptionMultiplexer::m_aFallback
private

Definition at line 85 of file formdispatchinterceptor.hxx.

Referenced by ImplDetach().

◆ m_bListening

bool svxform::DispatchInterceptionMultiplexer::m_bListening
private

◆ m_pMaster

DispatchInterceptor* svxform::DispatchInterceptionMultiplexer::m_pMaster
private

Definition at line 94 of file formdispatchinterceptor.hxx.

Referenced by ImplDetach(), and queryDispatch().

◆ m_pMutex

::osl::Mutex* svxform::DispatchInterceptionMultiplexer::m_pMutex
private

◆ m_xIntercepted

css::uno::WeakReference< css::frame::XDispatchProviderInterception > svxform::DispatchInterceptionMultiplexer::m_xIntercepted
private

Definition at line 90 of file formdispatchinterceptor.hxx.

Referenced by disposing(), getIntercepted(), and ImplDetach().

◆ m_xMasterDispatcher

css::uno::Reference< css::frame::XDispatchProvider> svxform::DispatchInterceptionMultiplexer::m_xMasterDispatcher
private

◆ m_xSlaveDispatcher

css::uno::Reference< css::frame::XDispatchProvider> svxform::DispatchInterceptionMultiplexer::m_xSlaveDispatcher
private

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