LibreOffice Module ucb (master)  1
Public Member Functions | Private Attributes | List of all members
UcbContentProviderProxy Class Reference

#include <provprox.hxx>

Inheritance diagram for UcbContentProviderProxy:
[legend]
Collaboration diagram for UcbContentProviderProxy:
[legend]

Public Member Functions

 UcbContentProviderProxy (const css::uno::Reference< css::lang::XMultiServiceFactory > &rxSMgr, const OUString &Service)
 
virtual ~UcbContentProviderProxy () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::ucb::XContentProvider > SAL_CALL getContentProvider () override
 
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent (const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override
 
virtual sal_Int32 SAL_CALL compareContentIds (const css::uno::Reference< css::ucb::XContentIdentifier > &Id1, const css::uno::Reference< css::ucb::XContentIdentifier > &Id2) override
 
virtual css::uno::Reference< css::ucb::XContentProvider > SAL_CALL registerInstance (const OUString &Template, const OUString &Arguments, sal_Bool ReplaceExisting) override
 
virtual css::uno::Reference< css::ucb::XContentProvider > SAL_CALL deregisterInstance (const OUString &Template, const OUString &Arguments) override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Attributes

::osl::Mutex m_aMutex
 
OUString m_aService
 
OUString m_aTemplate
 
OUString m_aArguments
 
bool m_bReplace
 
bool m_bRegister
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMgr
 
css::uno::Reference< css::ucb::XContentProvider > m_xProvider
 
css::uno::Reference< css::ucb::XContentProvider > m_xTargetProvider
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 72 of file provprox.hxx.

Constructor & Destructor Documentation

UcbContentProviderProxy::UcbContentProviderProxy ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  rxSMgr,
const OUString &  Service 
)

Definition at line 89 of file provprox.cxx.

UcbContentProviderProxy::~UcbContentProviderProxy ( )
overridevirtual

Definition at line 101 of file provprox.cxx.

Member Function Documentation

void SAL_CALL UcbContentProviderProxy::acquire ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 107 of file provprox.cxx.

sal_Int32 SAL_CALL UcbContentProviderProxy::compareContentIds ( const css::uno::Reference< css::ucb::XContentIdentifier > &  Id1,
const css::uno::Reference< css::ucb::XContentIdentifier > &  Id2 
)
overridevirtual

Definition at line 212 of file provprox.cxx.

References getContentProvider(), and m_aMutex.

Reference< XContentProvider > SAL_CALL UcbContentProviderProxy::deregisterInstance ( const OUString &  Template,
const OUString &  Arguments 
)
overridevirtual

Definition at line 258 of file provprox.cxx.

References m_aMutex, m_bRegister, m_xProvider, and m_xTargetProvider.

Reference< XContentProvider > SAL_CALL UcbContentProviderProxy::getContentProvider ( )
overridevirtual
virtual css::uno::Sequence< sal_Int8 > SAL_CALL UcbContentProviderProxy::getImplementationId ( )
overridevirtual
OUString SAL_CALL UcbContentProviderProxy::getImplementationName ( )
overridevirtual

Definition at line 176 of file provprox.cxx.

css::uno::Sequence< OUString > SAL_CALL UcbContentProviderProxy::getSupportedServiceNames ( )
overridevirtual

Definition at line 186 of file provprox.cxx.

Sequence< Type > SAL_CALL UcbContentProviderProxy::getTypes ( )
overridevirtual
Reference< XContent > SAL_CALL UcbContentProviderProxy::queryContent ( const css::uno::Reference< css::ucb::XContentIdentifier > &  Identifier)
overridevirtual

Definition at line 196 of file provprox.cxx.

References getContentProvider(), and m_aMutex.

Any SAL_CALL UcbContentProviderProxy::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 121 of file provprox.cxx.

References Any, getContentProvider(), m_aMutex, and cppu::queryInterface().

Reference< XContentProvider > SAL_CALL UcbContentProviderProxy::registerInstance ( const OUString &  Template,
const OUString &  Arguments,
sal_Bool  ReplaceExisting 
)
overridevirtual

Definition at line 235 of file provprox.cxx.

References m_aArguments, m_aMutex, m_aTemplate, m_bRegister, and m_bReplace.

void SAL_CALL UcbContentProviderProxy::release ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 113 of file provprox.cxx.

sal_Bool SAL_CALL UcbContentProviderProxy::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 181 of file provprox.cxx.

References cppu::supportsService().

Member Data Documentation

OUString UcbContentProviderProxy::m_aArguments
private

Definition at line 83 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

::osl::Mutex UcbContentProviderProxy::m_aMutex
private
OUString UcbContentProviderProxy::m_aService
private

Definition at line 81 of file provprox.hxx.

Referenced by getContentProvider().

OUString UcbContentProviderProxy::m_aTemplate
private

Definition at line 82 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

bool UcbContentProviderProxy::m_bRegister
private

Definition at line 85 of file provprox.hxx.

Referenced by deregisterInstance(), getContentProvider(), and registerInstance().

bool UcbContentProviderProxy::m_bReplace
private

Definition at line 84 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

css::uno::Reference< css::ucb::XContentProvider > UcbContentProviderProxy::m_xProvider
private

Definition at line 90 of file provprox.hxx.

Referenced by deregisterInstance(), and getContentProvider().

css::uno::Reference< css::lang::XMultiServiceFactory > UcbContentProviderProxy::m_xSMgr
private

Definition at line 88 of file provprox.hxx.

Referenced by getContentProvider().

css::uno::Reference< css::ucb::XContentProvider > UcbContentProviderProxy::m_xTargetProvider
private

Definition at line 92 of file provprox.hxx.

Referenced by deregisterInstance(), and getContentProvider().


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