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

a class which aggregates a proxy for an XAccessible, and wrapping the context returned by this XAccessible. More...

#include <accessiblewrapper.hxx>

Inheritance diagram for comphelper::OAccessibleWrapper:
[legend]
Collaboration diagram for comphelper::OAccessibleWrapper:
[legend]

Public Member Functions

 OAccessibleWrapper (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::accessibility::XAccessible > &_rxInnerAccessible, const css::uno::Reference< css::accessibility::XAccessible > &_rxParentAccessible)
 ctor More...
 
css::uno::Reference< css::accessibility::XAccessibleContext > getContextNoCreate () const
 
- Public Member Functions inherited from cppu::ImplHelper1< css::accessibility::XAccessible >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::ImplHelper1< css::lang::XEventListener >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
const css::uno::Reference< css::accessibility::XAccessible > & getParent () const
 
virtual rtl::Reference< OAccessibleContextWrappercreateAccessibleContext (const css::uno::Reference< css::accessibility::XAccessibleContext > &_rxInnerContext)
 
virtual ~OAccessibleWrapper () override
 
- Protected Member Functions inherited from comphelper::OAccessibleWrapper_Base
 ~OAccessibleWrapper_Base ()
 
- Protected Member Functions inherited from cppu::ImplHelper1< css::accessibility::XAccessible >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from comphelper::OComponentProxyAggregation
 OComponentProxyAggregation (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::lang::XComponent > &_rxComponent)
 
virtual ~OComponentProxyAggregation () override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL dispose () override
 
- Protected Member Functions inherited from comphelper::OComponentProxyAggregationHelper
css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
 OComponentProxyAggregationHelper (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, ::cppu::OBroadcastHelper &_rBHelper)
 
virtual ~OComponentProxyAggregationHelper ()
 
void componentAggregateProxyFor (const css::uno::Reference< css::lang::XComponent > &_rxComponent, oslInterlockedCount &_rRefCount, ::cppu::OWeakObject &_rDelegator)
 to be called from within your ctor More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL dispose ()=0
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
- Protected Member Functions inherited from cppu::ImplHelper1< css::lang::XEventListener >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Private Member Functions

 OAccessibleWrapper (const OAccessibleWrapper &)=delete
 
OAccessibleWrapperoperator= (const OAccessibleWrapper &)=delete
 

Private Attributes

css::uno::Reference< css::accessibility::XAccessible > m_xParentAccessible
 
css::uno::WeakReference< css::accessibility::XAccessibleContext > m_aContext
 
css::uno::Reference< css::accessibility::XAccessible > m_xInnerAccessible
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from comphelper::OComponentProxyAggregationHelper
css::uno::Reference< css::lang::XComponent > m_xInner
 
::cppu::OBroadcastHelperm_rBHelper
 

Detailed Description

a class which aggregates a proxy for an XAccessible, and wrapping the context returned by this XAccessible.

Definition at line 65 of file accessiblewrapper.hxx.

Constructor & Destructor Documentation

◆ OAccessibleWrapper() [1/2]

comphelper::OAccessibleWrapper::OAccessibleWrapper ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
const css::uno::Reference< css::accessibility::XAccessible > &  _rxInnerAccessible,
const css::uno::Reference< css::accessibility::XAccessible > &  _rxParentAccessible 
)

ctor

Parameters
_rxContexta service factory
_rxInnerAccessiblethe object to wrap
_rxParentAccessibleThe XAccessible which is our parent

◆ ~OAccessibleWrapper()

comphelper::OAccessibleWrapper::~OAccessibleWrapper ( )
overrideprotectedvirtual

◆ OAccessibleWrapper() [2/2]

comphelper::OAccessibleWrapper::OAccessibleWrapper ( const OAccessibleWrapper )
privatedelete

Member Function Documentation

◆ createAccessibleContext()

rtl::Reference< OAccessibleContextWrapper > comphelper::OAccessibleWrapper::createAccessibleContext ( const css::uno::Reference< css::accessibility::XAccessibleContext > &  _rxInnerContext)
protectedvirtual

◆ getAccessibleContext()

Reference< XAccessibleContext > SAL_CALL comphelper::OAccessibleWrapper::getAccessibleContext ( )
overrideprotectedvirtual

Definition at line 315 of file accessiblewrapper.cxx.

References createAccessibleContext(), m_aContext, and m_xInnerAccessible.

◆ getContextNoCreate()

Reference< XAccessibleContext > comphelper::OAccessibleWrapper::getContextNoCreate ( ) const

Definition at line 303 of file accessiblewrapper.cxx.

References m_aContext.

◆ getParent()

const css::uno::Reference< css::accessibility::XAccessible > & comphelper::OAccessibleWrapper::getParent ( ) const
inlineprotected

Definition at line 105 of file accessiblewrapper.hxx.

◆ operator=()

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

Member Data Documentation

◆ m_aContext

css::uno::WeakReference< css::accessibility::XAccessibleContext > comphelper::OAccessibleWrapper::m_aContext
private

Definition at line 73 of file accessiblewrapper.hxx.

Referenced by getAccessibleContext(), and getContextNoCreate().

◆ m_xInnerAccessible

css::uno::Reference< css::accessibility::XAccessible > comphelper::OAccessibleWrapper::m_xInnerAccessible
private

Definition at line 75 of file accessiblewrapper.hxx.

Referenced by getAccessibleContext().

◆ m_xParentAccessible

css::uno::Reference< css::accessibility::XAccessible > comphelper::OAccessibleWrapper::m_xParentAccessible
private

Definition at line 71 of file accessiblewrapper.hxx.

Referenced by createAccessibleContext().


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