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

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

Definition at line 37 of file formdispatchinterceptor.cxx.

References m_bListening, and m_pMutex.

svxform::DispatchInterceptionMultiplexer::~DispatchInterceptionMultiplexer ( )
overrideprivatevirtual

Definition at line 65 of file formdispatchinterceptor.cxx.

References dispose().

Member Function Documentation

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

Definition at line 160 of file formdispatchinterceptor.cxx.

References ImplDetach(), m_bListening, and m_xIntercepted.

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

Definition at line 57 of file formdispatchinterceptor.hxx.

References m_xIntercepted.

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

Definition at line 115 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xMasterDispatcher.

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

Definition at line 101 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xSlaveDispatcher.

void svxform::DispatchInterceptionMultiplexer::ImplDetach ( )
private

Definition at line 140 of file formdispatchinterceptor.cxx.

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

Referenced by disposing().

Reference< XDispatch > SAL_CALL svxform::DispatchInterceptionMultiplexer::queryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual
Sequence< Reference< XDispatch > > SAL_CALL svxform::DispatchInterceptionMultiplexer::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  aDescripts)
overridevirtual

Definition at line 90 of file formdispatchinterceptor.cxx.

References m_pMutex, and queryDispatch().

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

Definition at line 122 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xMasterDispatcher.

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

Definition at line 108 of file formdispatchinterceptor.cxx.

References m_pMutex, and m_xSlaveDispatcher.

Member Data Documentation

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

Definition at line 85 of file formdispatchinterceptor.hxx.

Referenced by ImplDetach().

bool svxform::DispatchInterceptionMultiplexer::m_bListening
private
DispatchInterceptor* svxform::DispatchInterceptionMultiplexer::m_pMaster
private

Definition at line 94 of file formdispatchinterceptor.hxx.

Referenced by ImplDetach(), and queryDispatch().

::osl::Mutex* svxform::DispatchInterceptionMultiplexer::m_pMutex
private
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().

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

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