30#include <osl/diagnose.h>
32#include <uno/mapping.h>
33#include <uno/dispatcher.h>
35#include <com/sun/star/uno/XInterface.hpp>
52 mutable std::atomic<std::size_t>
m_ref;
64 bool registered_java2uno );
72 void * uno_data, jvalue java_data,
73 typelib_TypeDescriptionReference * type,
75 bool assign,
bool out_param,
76 bool special_wrapped_integral_types =
false )
const;
79 jvalue * java_data,
void const * uno_data,
80 typelib_TypeDescriptionReference * type,
82 bool in_param,
bool out_param,
83 bool special_wrapped_integral_types =
false )
const;
90 typelib_InterfaceTypeDescription * iface_td,
91 sal_Int32 local_member_index, sal_Int32 function_pos_offset,
92 typelib_TypeDescriptionReference * return_type,
93 typelib_MethodParameter * params, sal_Int32 nParams,
94 void * uno_ret,
void * uno_args [],
uno_Any ** uno_exc )
const;
106 typelib_TypeDescriptionReference * return_tdref,
107 sal_Int32 nParams, typelib_MethodParameter
const * pParams,
108 jobjectArray jo_args )
const;
struct _uno_Environment uno_Environment
struct _uno_Mapping uno_Mapping
struct _typelib_TypeDescription typelib_TypeDescription
void map_to_java(JNI_context const &jni, jvalue *java_data, void const *uno_data, typelib_TypeDescriptionReference *type, JNI_type_info const *info, bool in_param, bool out_param, bool special_wrapped_integral_types=false) const
void map_to_uno(JNI_context const &jni, void *uno_data, jvalue java_data, typelib_TypeDescriptionReference *type, JNI_type_info const *info, bool assign, bool out_param, bool special_wrapped_integral_types=false) const
void call_java(jobject javaI, typelib_InterfaceTypeDescription *iface_td, sal_Int32 local_member_index, sal_Int32 function_pos_offset, typelib_TypeDescriptionReference *return_type, typelib_MethodParameter *params, sal_Int32 nParams, void *uno_ret, void *uno_args[], uno_Any **uno_exc) const
uno_ExtEnvironment * m_uno_env
bool m_registered_java2uno
Bridge(uno_Environment *java_env, uno_ExtEnvironment *uno_env, bool registered_java2uno)
JNI_info const * getJniInfo() const
void handle_java_exc(JNI_context const &jni, JLocalAutoRef const &jo_exc, uno_Any *uno_exc) const
void handle_uno_exc(JNI_context const &jni, uno_Any *uno_exc) const
std::atomic< std::size_t > m_ref
jobject call_uno(JNI_context const &jni, uno_Interface *pUnoI, typelib_TypeDescription *member_td, typelib_TypeDescriptionReference *return_tdref, sal_Int32 nParams, typelib_MethodParameter const *pParams, jobjectArray jo_args) const
uno_Environment * m_java_env