LibreOffice Module cppu (master) 1
Namespaces | Typedefs | Functions
helper_purpenv_Environment.cxx File Reference
#include <cppu/helper/purpenv/Environment.hxx>
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <uno/lbnames.h>
#include <cppu/Enterable.hxx>
#include <typelib/typedescription.h>
#include <osl/interlck.h>
#include <memory>
Include dependency graph for helper_purpenv_Environment.cxx:

Go to the source code of this file.

Namespaces

namespace  cppu
 
namespace  cppu::helper
 
namespace  cppu::helper::purpenv
 

Typedefs

typedef void EnvFun_P(uno_Environment *)
 
typedef void EnvFun_PP_P(uno_Environment **ppHardEnv, uno_Environment *)
 
typedef void ExtEnv_registerProxyInterface(uno_ExtEnvironment *, void **ppProxy, uno_freeProxyFunc freeProxy, rtl_uString *pOId, typelib_InterfaceTypeDescription *pTypeDescr)
 
typedef void ExtEnv_revokeInterface(uno_ExtEnvironment *, void *pInterface)
 
typedef void ExtEnv_getObjectIdentifier(uno_ExtEnvironment *, rtl_uString **, void *)
 
typedef void ExtEnv_getRegisteredInterface(uno_ExtEnvironment *, void **, rtl_uString *, typelib_InterfaceTypeDescription *)
 
typedef void ExtEnv_getRegisteredInterfaces(uno_ExtEnvironment *, void ***pppInterfaces, sal_Int32 *pnLen, uno_memAlloc memAlloc)
 
typedef void ExtEnv_computeObjectIdentifier(uno_ExtEnvironment *, rtl_uString **ppOId, void *pInterface)
 
typedef void ExtEnv_acquireInterface(uno_ExtEnvironment *, void *pInterface)
 
typedef void ExtEnv_releaseInterface(uno_ExtEnvironment *, void *pInterface)
 

Functions

static void s_acquire (uno_Environment *pEnv)
 
static void s_release (uno_Environment *pEnv) SAL_THROW_EXTERN_C()
 
static void s_harden (uno_Environment **ppHardEnv, uno_Environment *pEnv) SAL_THROW_EXTERN_C()
 
static void s_acquireWeak (uno_Environment *pEnv) SAL_THROW_EXTERN_C()
 
static void s_releaseWeak (uno_Environment *pEnv) SAL_THROW_EXTERN_C()
 
static void s_registerProxyInterface (uno_ExtEnvironment *pExtEnv, void **ppProxy, uno_freeProxyFunc freeProxy, rtl_uString *pOId, typelib_InterfaceTypeDescription *pTypeDescr)
 
static void s_revokeInterface (uno_ExtEnvironment *pExtEnv, void *pInterface)
 
static void s_getObjectIdentifier (uno_ExtEnvironment *pExtEnv, rtl_uString **ppOId, void *pInterface)
 
static void s_getRegisteredInterface (uno_ExtEnvironment *pExtEnv, void **ppInterface, rtl_uString *pOId, typelib_InterfaceTypeDescription *pTypeDescr)
 
static void s_getRegisteredInterfaces (uno_ExtEnvironment *pExtEnv, void ***pppInterface, sal_Int32 *pnLen, uno_memAlloc memAlloc)
 
static void s_computeObjectIdentifier (uno_ExtEnvironment *pExtEnv, rtl_uString **ppOId, void *pInterface)
 
static void s_acquireInterface (uno_ExtEnvironment *pExtEnv, void *pInterface)
 
static void s_releaseInterface (uno_ExtEnvironment *pExtEnv, void *pInterface)
 
static void s_registerProxyInterface_v (va_list *pParam)
 
static void s_revokeInterface_v (va_list *pParam)
 
static void s_getObjectIdentifier_v (va_list *pParam)
 
static void s_getRegisteredInterface_v (va_list *pParam)
 
static void s_getRegisteredInterfaces_v (va_list *pParam)
 
static void s_computeObjectIdentifier_v (va_list *pParam)
 
static void s_acquireInterface_v (va_list *pParam)
 
static void s_releaseInterface_v (va_list *pParam)
 
void cppu::helper::purpenv::Environment_initWithEnterable (uno_Environment *pEnvironment, cppu::Enterable *pEnterable)
 C++ helper for implementing Purpose Environments. More...
 

Typedef Documentation

◆ EnvFun_P

typedef void EnvFun_P(uno_Environment *)

Definition at line 33 of file helper_purpenv_Environment.cxx.

◆ EnvFun_PP_P

typedef void EnvFun_PP_P(uno_Environment **ppHardEnv, uno_Environment *)

Definition at line 34 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_acquireInterface

typedef void ExtEnv_acquireInterface(uno_ExtEnvironment *, void *pInterface)

Definition at line 56 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_computeObjectIdentifier

typedef void ExtEnv_computeObjectIdentifier(uno_ExtEnvironment *, rtl_uString **ppOId, void *pInterface)

Definition at line 53 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_getObjectIdentifier

typedef void ExtEnv_getObjectIdentifier(uno_ExtEnvironment *, rtl_uString **, void *)

Definition at line 42 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_getRegisteredInterface

typedef void ExtEnv_getRegisteredInterface(uno_ExtEnvironment *, void **, rtl_uString *, typelib_InterfaceTypeDescription *)

Definition at line 45 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_getRegisteredInterfaces

typedef void ExtEnv_getRegisteredInterfaces(uno_ExtEnvironment *, void ***pppInterfaces, sal_Int32 *pnLen, uno_memAlloc memAlloc)

Definition at line 49 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_registerProxyInterface

typedef void ExtEnv_registerProxyInterface(uno_ExtEnvironment *, void **ppProxy, uno_freeProxyFunc freeProxy, rtl_uString *pOId, typelib_InterfaceTypeDescription *pTypeDescr)

Definition at line 35 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_releaseInterface

typedef void ExtEnv_releaseInterface(uno_ExtEnvironment *, void *pInterface)

Definition at line 58 of file helper_purpenv_Environment.cxx.

◆ ExtEnv_revokeInterface

typedef void ExtEnv_revokeInterface(uno_ExtEnvironment *, void *pInterface)

Definition at line 40 of file helper_purpenv_Environment.cxx.

Function Documentation

◆ s_acquire()

static void s_acquire ( uno_Environment pEnv)
static

Definition at line 125 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_acquireInterface()

static void s_acquireInterface ( uno_ExtEnvironment *  pExtEnv,
void *  pInterface 
)
static

Definition at line 206 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_acquireInterface_v()

static void s_acquireInterface_v ( va_list *  pParam)
static

Definition at line 453 of file helper_purpenv_Environment.cxx.

References s_acquireInterface_v().

Referenced by s_acquireInterface_v().

◆ s_acquireWeak()

static void s_acquireWeak ( uno_Environment pEnv)
static

Definition at line 143 of file helper_purpenv_Environment.cxx.

References Base, and SAL_THROW_EXTERN_C.

◆ s_computeObjectIdentifier()

static void s_computeObjectIdentifier ( uno_ExtEnvironment *  pExtEnv,
rtl_uString **  ppOId,
void *  pInterface 
)
static

Definition at line 198 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_computeObjectIdentifier_v()

static void s_computeObjectIdentifier_v ( va_list *  pParam)
static

◆ s_getObjectIdentifier()

static void s_getObjectIdentifier ( uno_ExtEnvironment *  pExtEnv,
rtl_uString **  ppOId,
void *  pInterface 
)
static

Definition at line 172 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_getObjectIdentifier_v()

static void s_getObjectIdentifier_v ( va_list *  pParam)
static

Definition at line 357 of file helper_purpenv_Environment.cxx.

References s_getObjectIdentifier_v().

Referenced by s_getObjectIdentifier_v().

◆ s_getRegisteredInterface()

static void s_getRegisteredInterface ( uno_ExtEnvironment *  pExtEnv,
void **  ppInterface,
rtl_uString *  pOId,
typelib_InterfaceTypeDescription *  pTypeDescr 
)
static

Definition at line 180 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_getRegisteredInterface_v()

static void s_getRegisteredInterface_v ( va_list *  pParam)
static

Definition at line 379 of file helper_purpenv_Environment.cxx.

References s_getRegisteredInterface_v().

Referenced by s_getRegisteredInterface_v().

◆ s_getRegisteredInterfaces()

static void s_getRegisteredInterfaces ( uno_ExtEnvironment *  pExtEnv,
void ***  pppInterface,
sal_Int32 *  pnLen,
uno_memAlloc  memAlloc 
)
static

Definition at line 189 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_getRegisteredInterfaces_v()

static void s_getRegisteredInterfaces_v ( va_list *  pParam)
static

◆ s_harden()

static void s_harden ( uno_Environment **  ppHardEnv,
uno_Environment pEnv 
)
static

Definition at line 137 of file helper_purpenv_Environment.cxx.

References Base, and SAL_THROW_EXTERN_C.

◆ s_registerProxyInterface()

static void s_registerProxyInterface ( uno_ExtEnvironment *  pExtEnv,
void **  ppProxy,
uno_freeProxyFunc  freeProxy,
rtl_uString *  pOId,
typelib_InterfaceTypeDescription *  pTypeDescr 
)
static

Definition at line 156 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_registerProxyInterface_v()

static void s_registerProxyInterface_v ( va_list *  pParam)
static

Definition at line 309 of file helper_purpenv_Environment.cxx.

References s_registerProxyInterface_v().

Referenced by s_registerProxyInterface_v().

◆ s_release()

static void s_release ( uno_Environment pEnv)
static

Definition at line 131 of file helper_purpenv_Environment.cxx.

References Base, and SAL_THROW_EXTERN_C.

◆ s_releaseInterface()

static void s_releaseInterface ( uno_ExtEnvironment *  pExtEnv,
void *  pInterface 
)
static

Definition at line 211 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_releaseInterface_v()

static void s_releaseInterface_v ( va_list *  pParam)
static

Definition at line 469 of file helper_purpenv_Environment.cxx.

References s_releaseInterface_v().

Referenced by s_releaseInterface_v().

◆ s_releaseWeak()

static void s_releaseWeak ( uno_Environment pEnv)
static

Definition at line 149 of file helper_purpenv_Environment.cxx.

References Base, and SAL_THROW_EXTERN_C.

◆ s_revokeInterface()

static void s_revokeInterface ( uno_ExtEnvironment *  pExtEnv,
void *  pInterface 
)
static

Definition at line 166 of file helper_purpenv_Environment.cxx.

References Base.

◆ s_revokeInterface_v()

static void s_revokeInterface_v ( va_list *  pParam)
static

Definition at line 338 of file helper_purpenv_Environment.cxx.

References s_revokeInterface_v().

Referenced by s_revokeInterface_v().