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

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

Definition at line 86 of file proxyaggregation.cxx.

References m_xProxyAggregate, and m_xProxyTypeAccess.

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

Member Function Documentation

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, m_xProxyAggregate, and m_xProxyTypeAccess.

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

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

Definition at line 90 of file proxyaggregation.hxx.

References m_xContext.

Referenced by comphelper::OAccessibleWrapper::createAccessibleContext().

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

Definition at line 74 of file proxyaggregation.cxx.

References m_xProxyAggregate, and m_xProxyTypeAccess.

OProxyAggregation& comphelper::OProxyAggregation::operator= ( const OProxyAggregation )
privatedelete
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, and m_xProxyAggregate.

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

Member Data Documentation

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

Definition at line 87 of file proxyaggregation.hxx.

Referenced by baseAggregateProxyFor(), and getComponentContext().

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

Definition at line 86 of file proxyaggregation.hxx.

Referenced by baseAggregateProxyFor(), getTypes(), and ~OProxyAggregation().


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