LibreOffice Module comphelper (master) 1
Protected Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::OProxyAggregation Class Reference

helper class for aggregating a proxy for a foreign object More...

#include <proxyaggregation.hxx>

Inheritance diagram for comphelper::OProxyAggregation:
[legend]

Protected Member Functions

const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
 OProxyAggregation (const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
 ~OProxyAggregation ()
 
void baseAggregateProxyFor (const css::uno::Reference< css::uno::XInterface > &_rxComponent, oslInterlockedCount &_rRefCount, ::cppu::OWeakObject &_rDelegator)
 to be called from within your ctor More...
 
css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType)
 
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes ()
 

Private Member Functions

 OProxyAggregation (const OProxyAggregation &)=delete
 
OProxyAggregationoperator= (const OProxyAggregation &)=delete
 

Private Attributes

css::uno::Reference< css::uno::XAggregation > m_xProxyAggregate
 
css::uno::Reference< css::lang::XTypeProvider > m_xProxyTypeAccess
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

helper class for aggregating a proxy for a foreign object

Definition at line 82 of file proxyaggregation.hxx.

Constructor & Destructor Documentation

◆ OProxyAggregation() [1/2]

comphelper::OProxyAggregation::OProxyAggregation ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext)
protected

◆ ~OProxyAggregation()

comphelper::OProxyAggregation::~OProxyAggregation ( )
protected

Definition at line 86 of file proxyaggregation.cxx.

◆ OProxyAggregation() [2/2]

comphelper::OProxyAggregation::OProxyAggregation ( const OProxyAggregation )
privatedelete

Member Function Documentation

◆ baseAggregateProxyFor()

void comphelper::OProxyAggregation::baseAggregateProxyFor ( const css::uno::Reference< css::uno::XInterface > &  _rxComponent,
oslInterlockedCount &  _rRefCount,
::cppu::OWeakObject _rDelegator 
)
protected

to be called from within your ctor

Definition at line 42 of file proxyaggregation.cxx.

References m_xContext, and xFactory.

Referenced by comphelper::OComponentProxyAggregationHelper::componentAggregateProxyFor().

◆ getComponentContext()

const css::uno::Reference< css::uno::XComponentContext > & comphelper::OProxyAggregation::getComponentContext ( ) const
inlineprotected

Definition at line 90 of file proxyaggregation.hxx.

References m_xContext.

◆ getTypes()

Sequence< Type > SAL_CALL comphelper::OProxyAggregation::getTypes ( )
protected
Exceptions
css::uno::RuntimeException

Definition at line 74 of file proxyaggregation.cxx.

References aTypes.

◆ operator=()

OProxyAggregation & comphelper::OProxyAggregation::operator= ( const OProxyAggregation )
privatedelete

◆ queryAggregation()

Any SAL_CALL comphelper::OProxyAggregation::queryAggregation ( const css::uno::Type &  _rType)
protected
Exceptions
css::uno::RuntimeException

Definition at line 68 of file proxyaggregation.cxx.

References Any.

Referenced by comphelper::OComponentProxyAggregationHelper::queryInterface().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > comphelper::OProxyAggregation::m_xContext
private

Definition at line 87 of file proxyaggregation.hxx.

Referenced by getComponentContext().

◆ m_xProxyAggregate

css::uno::Reference< css::uno::XAggregation > comphelper::OProxyAggregation::m_xProxyAggregate
private

Definition at line 85 of file proxyaggregation.hxx.

◆ m_xProxyTypeAccess

css::uno::Reference< css::lang::XTypeProvider > comphelper::OProxyAggregation::m_xProxyTypeAccess
private

Definition at line 86 of file proxyaggregation.hxx.


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