LibreOffice Module stoc (master) 1
Namespaces | Typedefs | Functions
iafactory.cxx File Reference
#include <osl/diagnose.h>
#include <osl/interlck.h>
#include <osl/mutex.hxx>
#include <o3tl/sorted_vector.hxx>
#include <sal/log.hxx>
#include <uno/dispatcher.h>
#include <uno/data.h>
#include <uno/any2.h>
#include <uno/lbnames.h>
#include <uno/mapping.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weak.hxx>
#include <com/sun/star/script/XTypeConverter.hpp>
#include <com/sun/star/script/XInvocationAdapterFactory.hpp>
#include <com/sun/star/script/XInvocationAdapterFactory2.hpp>
#include <com/sun/star/script/XInvocation.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/reflection/InvocationTargetException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <unordered_map>
#include <vector>
Include dependency graph for iafactory.cxx:

Go to the source code of this file.

Namespaces

namespace  stoc_invadp
 

Typedefs

typedef o3tl::sorted_vector< void * > stoc_invadp::t_ptr_set
 
typedef std::unordered_map< void *, t_ptr_set, hash_ptr > stoc_invadp::t_ptr_map
 

Functions

static void stoc_invadp::constructRuntimeException (uno_Any *pExc, const OUString &rMsg)
 
static bool stoc_invadp::type_equals (typelib_TypeDescriptionReference *pType1, typelib_TypeDescriptionReference *pType2)
 
static void stoc_invadp::handleInvokExc (uno_Any *pDest, uno_Any *pSource)
 
static void stoc_invadp::adapter_acquire (uno_Interface *pUnoI)
 
static void stoc_invadp::adapter_release (uno_Interface *pUnoI)
 
static void stoc_invadp::adapter_dispatch (uno_Interface *pUnoI, const typelib_TypeDescription *pMemberType, void *pReturn, void *pArgs[], uno_Any **ppException)
 
static AdapterImpl * stoc_invadp::lookup_adapter (t_ptr_set **pp_adapter_set, t_ptr_map &map, void *key, Sequence< Type > const &rTypes)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * stoc_invocation_adapter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Function Documentation

◆ stoc_invocation_adapter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * stoc_invocation_adapter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 873 of file iafactory.cxx.

Variable Documentation

◆ m_aCpp2Uno

Mapping m_aCpp2Uno

Definition at line 78 of file iafactory.cxx.

◆ m_aUno2Cpp

Mapping m_aUno2Cpp

Definition at line 77 of file iafactory.cxx.

◆ m_key

void* m_key

Definition at line 119 of file iafactory.cxx.

◆ m_mutex

Mutex m_mutex

Definition at line 88 of file iafactory.cxx.

◆ m_nRef

oslInterlockedCount m_nRef

Definition at line 117 of file iafactory.cxx.

◆ m_pAdapter

AdapterImpl* m_pAdapter

◆ m_pAnySeqTD

Definition at line 84 of file iafactory.cxx.

◆ m_pConverter

uno_Interface* m_pConverter

Definition at line 79 of file iafactory.cxx.

◆ m_pConvertToTD

typelib_TypeDescription* m_pConvertToTD

Definition at line 86 of file iafactory.cxx.

◆ m_pFactory

FactoryImpl* m_pFactory

Definition at line 118 of file iafactory.cxx.

◆ m_pGetValueTD

typelib_TypeDescription* m_pGetValueTD

Definition at line 83 of file iafactory.cxx.

◆ m_pInvokMethodTD

typelib_TypeDescription* m_pInvokMethodTD

Definition at line 81 of file iafactory.cxx.

◆ m_pReceiver

uno_Interface* m_pReceiver

Definition at line 120 of file iafactory.cxx.

◆ m_pSetValueTD

typelib_TypeDescription* m_pSetValueTD

Definition at line 82 of file iafactory.cxx.

◆ m_pShortSeqTD

typelib_TypeDescription* m_pShortSeqTD

Definition at line 85 of file iafactory.cxx.

◆ m_pTypeDescr

typelib_InterfaceTypeDescription* m_pTypeDescr

Definition at line 112 of file iafactory.cxx.

◆ m_receiver2adapters

t_ptr_map m_receiver2adapters

Definition at line 89 of file iafactory.cxx.

◆ m_vInterfaces

std::vector<InterfaceAdapterImpl> m_vInterfaces

Definition at line 122 of file iafactory.cxx.