LibreOffice Module bridges (master) 1
|
Holding environments and mappings. More...
#include <bridge.hxx>
Classes | |
struct | Mapping |
Public Member Functions | |
void | acquire () |
void | release () |
uno_ExtEnvironment * | getCppEnv () |
uno_ExtEnvironment * | getUnoEnv () |
uno_Mapping * | getCpp2Uno () |
uno_Mapping * | getUno2Cpp () |
Static Public Member Functions | |
static uno_Mapping * | createMapping (uno_ExtEnvironment *pCppEnv, uno_ExtEnvironment *pUnoEnv, bool bExportCpp2Uno) |
Private Member Functions | |
Bridge (Bridge const &)=delete | |
Bridge & | operator= (const Bridge &)=delete |
Bridge (uno_ExtEnvironment *pCppEnv_, uno_ExtEnvironment *pUnoEnv_, bool bExportCpp2Uno_) | |
~Bridge () | |
Private Attributes | |
std::atomic< std::size_t > | nRef |
uno_ExtEnvironment * | pCppEnv |
uno_ExtEnvironment * | pUnoEnv |
Mapping | aCpp2Uno |
Mapping | aUno2Cpp |
bool | bExportCpp2Uno |
Friends | |
void | freeMapping (uno_Mapping *pMapping) |
void | acquireMapping (uno_Mapping *pMapping) |
void | releaseMapping (uno_Mapping *pMapping) |
void | cpp2unoMapping (uno_Mapping *pMapping, void **ppUnoI, void *pCppI, typelib_InterfaceTypeDescription *pTypeDescr) |
void | uno2cppMapping (uno_Mapping *pMapping, void **ppCppI, void *pUnoI, typelib_InterfaceTypeDescription *pTypeDescr) |
Holding environments and mappings.
Definition at line 54 of file bridge.hxx.
|
privatedelete |
Referenced by createMapping().
|
private |
Definition at line 180 of file bridge.cxx.
References aCpp2Uno, acquireMapping, aUno2Cpp, cpp2unoMapping, nRef, bridges::cpp_uno::shared::Bridge::Mapping::pBridge, pCppEnv, pUnoEnv, releaseMapping, and uno2cppMapping.
|
private |
Definition at line 202 of file bridge.cxx.
void bridges::cpp_uno::shared::Bridge::acquire | ( | ) |
Definition at line 151 of file bridge.cxx.
References aCpp2Uno, aUno2Cpp, bExportCpp2Uno, freeMapping, nRef, pCppEnv, pMapping, and pUnoEnv.
Referenced by bridges::cpp_uno::shared::CppInterfaceProxy::CppInterfaceProxy(), and bridges::cpp_uno::shared::UnoInterfaceProxy::UnoInterfaceProxy().
|
static |
Definition at line 142 of file bridge.cxx.
References aCpp2Uno, aUno2Cpp, bExportCpp2Uno, Bridge(), pCppEnv, and pUnoEnv.
Referenced by uno_ext_getMapping().
|
inline |
Definition at line 72 of file bridge.hxx.
References aCpp2Uno.
Referenced by cpp2uno_call(), and cpp_call().
|
inline |
Definition at line 69 of file bridge.hxx.
References pCppEnv.
Referenced by bridges::cpp_uno::shared::CppInterfaceProxy::acquireProxy(), cpp_mediate(), cpp_vtable_call(), bridges::cpp_uno::shared::CppInterfaceProxy::releaseProxy(), bridges::cpp_uno::shared::UnoInterfaceProxy::UnoInterfaceProxy(), and vtableCall().
|
inline |
Definition at line 73 of file bridge.hxx.
References aUno2Cpp.
Referenced by cpp2uno_call(), and cpp_call().
|
inline |
Definition at line 70 of file bridge.hxx.
References pUnoEnv.
Referenced by bridges::cpp_uno::shared::CppInterfaceProxy::CppInterfaceProxy(), and bridges::cpp_uno::shared::unoInterfaceProxyDispatch().
void bridges::cpp_uno::shared::Bridge::release | ( | ) |
Definition at line 172 of file bridge.cxx.
References aCpp2Uno, aUno2Cpp, bExportCpp2Uno, and nRef.
|
friend |
Definition at line 41 of file bridge.cxx.
Referenced by Bridge().
|
friend |
Definition at line 51 of file bridge.cxx.
Referenced by Bridge().
|
friend |
Definition at line 36 of file bridge.cxx.
Referenced by acquire().
|
friend |
Definition at line 46 of file bridge.cxx.
Referenced by Bridge().
|
friend |
Definition at line 97 of file bridge.cxx.
Referenced by Bridge().
|
private |
Definition at line 94 of file bridge.hxx.
Referenced by acquire(), Bridge(), createMapping(), getCpp2Uno(), and release().
|
private |
Definition at line 95 of file bridge.hxx.
Referenced by acquire(), Bridge(), createMapping(), getUno2Cpp(), and release().
|
private |
Definition at line 97 of file bridge.hxx.
Referenced by acquire(), createMapping(), and release().
|
private |
Definition at line 89 of file bridge.hxx.
|
private |
Definition at line 91 of file bridge.hxx.
Referenced by acquire(), Bridge(), createMapping(), getCppEnv(), and ~Bridge().
|
private |
Definition at line 92 of file bridge.hxx.
Referenced by acquire(), Bridge(), createMapping(), getUnoEnv(), and ~Bridge().