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::uno::XComponentContext > &rxContext, OUString Service)
 
virtual ~UcbContentProviderProxy () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
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::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 > ()
 

Private Attributes

std::mutex m_aMutex
 
OUString m_aService
 
OUString m_aTemplate
 
OUString m_aArguments
 
bool m_bReplace
 
bool m_bRegister
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
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 59 of file provprox.hxx.

Constructor & Destructor Documentation

◆ UcbContentProviderProxy()

UcbContentProviderProxy::UcbContentProviderProxy ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
OUString  Service 
)

Definition at line 93 of file provprox.cxx.

References m_xContext, and Service.

◆ ~UcbContentProviderProxy()

UcbContentProviderProxy::~UcbContentProviderProxy ( )
overridevirtual

Definition at line 105 of file provprox.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL UcbContentProviderProxy::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 111 of file provprox.cxx.

◆ compareContentIds()

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().

◆ deregisterInstance()

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

Definition at line 257 of file provprox.cxx.

References m_aMutex, m_bRegister, m_xProvider, m_xTargetProvider, and Template.

◆ getContentProvider()

Reference< XContentProvider > SAL_CALL UcbContentProviderProxy::getContentProvider ( )
overridevirtual

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL UcbContentProviderProxy::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL UcbContentProviderProxy::getImplementationName ( )
overridevirtual

Definition at line 178 of file provprox.cxx.

◆ getSupportedServiceNames()

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

Definition at line 188 of file provprox.cxx.

◆ getTypes()

Sequence< Type > SAL_CALL UcbContentProviderProxy::getTypes ( )
overridevirtual

◆ queryContent()

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

Definition at line 198 of file provprox.cxx.

References getContentProvider(), and Identifier.

◆ queryInterface()

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

Reimplemented from cppu::OWeakObject.

Definition at line 125 of file provprox.cxx.

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

◆ registerInstance()

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

Definition at line 234 of file provprox.cxx.

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

◆ release()

void SAL_CALL UcbContentProviderProxy::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 117 of file provprox.cxx.

◆ supportsService()

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

Definition at line 183 of file provprox.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aArguments

OUString UcbContentProviderProxy::m_aArguments
private

Definition at line 70 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

◆ m_aMutex

std::mutex UcbContentProviderProxy::m_aMutex
private

Definition at line 67 of file provprox.hxx.

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

◆ m_aService

OUString UcbContentProviderProxy::m_aService
private

Definition at line 68 of file provprox.hxx.

Referenced by getContentProvider().

◆ m_aTemplate

OUString UcbContentProviderProxy::m_aTemplate
private

Definition at line 69 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

◆ m_bRegister

bool UcbContentProviderProxy::m_bRegister
private

Definition at line 72 of file provprox.hxx.

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

◆ m_bReplace

bool UcbContentProviderProxy::m_bReplace
private

Definition at line 71 of file provprox.hxx.

Referenced by getContentProvider(), and registerInstance().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > UcbContentProviderProxy::m_xContext
private

Definition at line 75 of file provprox.hxx.

Referenced by getContentProvider().

◆ m_xProvider

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

Definition at line 77 of file provprox.hxx.

Referenced by deregisterInstance(), and getContentProvider().

◆ m_xTargetProvider

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

Definition at line 79 of file provprox.hxx.

Referenced by deregisterInstance(), and getContentProvider().


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