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

#include <intercept.hxx>

Inheritance diagram for dbaccess::OInterceptor:
[legend]
Collaboration diagram for dbaccess::OInterceptor:
[legend]

Public Member Functions

 OInterceptor (ODocumentDefinition *_pContentHolder)
 
void dispose ()
 
virtual void SAL_CALL dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getInterceptedURLs () override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &URL, const OUString &TargetFrameName, sal_Int32 SearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &Requests) override
 
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider () override
 
virtual void SAL_CALL setSlaveDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &NewDispatchProvider) override
 
virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider () override
 
virtual void SAL_CALL setMasterDispatchProvider (const css::uno::Reference< css::frame::XDispatchProvider > &NewSupplier) override
 

Protected Member Functions

virtual ~OInterceptor () override
 

Private Types

typedef comphelper::OMultiTypeInterfaceContainerHelperVar3< css::frame::XStatusListener, OUString > StatusListenerContainer
 

Private Member Functions

 DECL_LINK (OnDispatch, void *, void)
 

Private Attributes

osl::Mutex m_aMutex
 
ODocumentDefinitionm_pContentHolder
 
css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatchProvider
 
css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatchProvider
 
css::uno::Sequence< OUString > m_aInterceptedURL
 
std::unique_ptr< StatusListenerContainerm_pStatCL
 

Detailed Description

Definition at line 35 of file intercept.hxx.

Member Typedef Documentation

◆ StatusListenerContainer

Definition at line 107 of file intercept.hxx.

Constructor & Destructor Documentation

◆ ~OInterceptor()

dbaccess::OInterceptor::~OInterceptor ( )
overrideprotectedvirtual

Definition at line 79 of file intercept.cxx.

◆ OInterceptor()

dbaccess::OInterceptor::OInterceptor ( ODocumentDefinition _pContentHolder)
explicit

Definition at line 66 of file intercept.cxx.

References DISPATCH_RELOAD, and m_aInterceptedURL.

Member Function Documentation

◆ addStatusListener()

void SAL_CALL dbaccess::OInterceptor::addStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  Control,
const css::util::URL &  URL 
)
overridevirtual

◆ DECL_LINK()

dbaccess::OInterceptor::DECL_LINK ( OnDispatch  ,
void *  ,
void   
)
private

◆ dispatch()

void SAL_CALL dbaccess::OInterceptor::dispatch ( const css::util::URL &  URL,
const css::uno::Sequence< css::beans::PropertyValue > &  Arguments 
)
overridevirtual

◆ dispose()

void dbaccess::OInterceptor::dispose ( void  )
Exceptions
css::uno::RuntimeException

Definition at line 50 of file intercept.cxx.

References m_aMutex, m_pContentHolder, m_pStatCL, m_xMasterDispatchProvider, and m_xSlaveDispatchProvider.

◆ getInterceptedURLs()

Sequence< OUString > SAL_CALL dbaccess::OInterceptor::getInterceptedURLs ( )
overridevirtual

Definition at line 278 of file intercept.cxx.

References m_aInterceptedURL.

◆ getMasterDispatchProvider()

Reference< XDispatchProvider > SAL_CALL dbaccess::OInterceptor::getMasterDispatchProvider ( )
overridevirtual

Definition at line 347 of file intercept.cxx.

References m_aMutex, and m_xMasterDispatchProvider.

◆ getSlaveDispatchProvider()

Reference< XDispatchProvider > SAL_CALL dbaccess::OInterceptor::getSlaveDispatchProvider ( )
overridevirtual

Definition at line 333 of file intercept.cxx.

References m_aMutex, and m_xSlaveDispatchProvider.

◆ queryDispatch()

Reference< XDispatch > SAL_CALL dbaccess::OInterceptor::queryDispatch ( const css::util::URL &  URL,
const OUString &  TargetFrameName,
sal_Int32  SearchFlags 
)
overridevirtual

Definition at line 287 of file intercept.cxx.

References m_aInterceptedURL, m_aMutex, m_xSlaveDispatchProvider, and URL.

◆ queryDispatches()

Sequence< Reference< XDispatch > > SAL_CALL dbaccess::OInterceptor::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  Requests)
overridevirtual

Definition at line 304 of file intercept.cxx.

References i, m_aInterceptedURL, m_aMutex, and m_xSlaveDispatchProvider.

◆ removeStatusListener()

void SAL_CALL dbaccess::OInterceptor::removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener > &  Control,
const css::util::URL &  URL 
)
overridevirtual

Definition at line 262 of file intercept.cxx.

References m_pStatCL, and URL.

◆ setMasterDispatchProvider()

void SAL_CALL dbaccess::OInterceptor::setMasterDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  NewSupplier)
overridevirtual

Definition at line 354 of file intercept.cxx.

References m_aMutex, and m_xMasterDispatchProvider.

◆ setSlaveDispatchProvider()

void SAL_CALL dbaccess::OInterceptor::setSlaveDispatchProvider ( const css::uno::Reference< css::frame::XDispatchProvider > &  NewDispatchProvider)
overridevirtual

Definition at line 340 of file intercept.cxx.

References m_aMutex, and m_xSlaveDispatchProvider.

Member Data Documentation

◆ m_aInterceptedURL

css::uno::Sequence< OUString > dbaccess::OInterceptor::m_aInterceptedURL
private

◆ m_aMutex

osl::Mutex dbaccess::OInterceptor::m_aMutex
private

◆ m_pContentHolder

ODocumentDefinition* dbaccess::OInterceptor::m_pContentHolder
private

Definition at line 99 of file intercept.hxx.

Referenced by addStatusListener(), dispatch(), and dispose().

◆ m_pStatCL

std::unique_ptr<StatusListenerContainer> dbaccess::OInterceptor::m_pStatCL
private

Definition at line 108 of file intercept.hxx.

Referenced by addStatusListener(), dispose(), and removeStatusListener().

◆ m_xMasterDispatchProvider

css::uno::Reference< css::frame::XDispatchProvider > dbaccess::OInterceptor::m_xMasterDispatchProvider
private

Definition at line 102 of file intercept.hxx.

Referenced by dispose(), getMasterDispatchProvider(), and setMasterDispatchProvider().

◆ m_xSlaveDispatchProvider

css::uno::Reference< css::frame::XDispatchProvider > dbaccess::OInterceptor::m_xSlaveDispatchProvider
private

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