public class CPPRuntime extends CRuntime
| Modifier and Type | Class and Description |
|---|---|
static class |
CPPRuntime.CPPDestructor |
class |
CPPRuntime.CPPTypeInfo<T extends CPPObject> |
static class |
CPPRuntime.MemoryOperators |
CRuntime.CTypeInfo<T extends NativeObject>, CRuntime.MethodCallInfoBuilderBridJRuntime.TypeInfo<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONSTRUCTOR |
static int |
SKIP_CONSTRUCTOR |
PROPERTY_bridj_c_defaultObjectSize| Constructor and Description |
|---|
CPPRuntime() |
| Modifier and Type | Method and Description |
|---|---|
<T extends NativeObject> |
getActualInstanceClass(Pointer<T> pInstance,
Type officialType) |
<T extends CPPObject> |
getCPPTypeInfo(Type type) |
static CPPRuntime |
getInstance() |
CPPRuntime.MemoryOperators |
getMemoryOperators() |
int |
getPositionInVirtualTable(Pointer<Pointer<?>> pVirtualTable,
Method method,
NativeLibrary library) |
static Object[] |
getTemplateParameters(CPPObject object,
Class<?> typeClass) |
static Type[] |
getTemplateTypeParameters(CPPObject object,
Type type) |
Type |
getType(Class<?> cls,
Object[] targsAndArgs,
int[] typeParamCount) |
Type |
getType(NativeObject instance) |
<T extends NativeObject> |
getTypeInfo(Type type) |
int |
getVirtualMethodsCount(Class<?> type) |
void |
setTemplateParameters(CPPObject object,
Class<?> typeClass,
Object[] params) |
allocate, createCToJavaCallback, getAbstractCallback, getApplyMethods, getCallbackMethod, getCallbackNativeImplementer, getDefaultStructSize, getDynamicFunctionFactory, getFastestCallbackMethod, getTypeForCast, getUniqueCallbackMethod, isAvailable, register, sizeOf, unregisterisOverridenSignaturepublic static final int DEFAULT_CONSTRUCTOR
public static final int SKIP_CONSTRUCTOR
public CPPRuntime()
public static CPPRuntime getInstance()
public Type getType(NativeObject instance)
getType in interface BridJRuntimegetType in class AbstractBridJRuntimepublic static Object[] getTemplateParameters(CPPObject object, Class<?> typeClass)
public static Type[] getTemplateTypeParameters(CPPObject object, Type type)
public void setTemplateParameters(CPPObject object, Class<?> typeClass, Object[] params)
public <T extends NativeObject> Class<? extends T> getActualInstanceClass(Pointer<T> pInstance, Type officialType)
getActualInstanceClass in interface BridJRuntimegetActualInstanceClass in class CRuntimepublic int getVirtualMethodsCount(Class<?> type)
public CPPRuntime.MemoryOperators getMemoryOperators()
public int getPositionInVirtualTable(Pointer<Pointer<?>> pVirtualTable, Method method, NativeLibrary library)
public <T extends NativeObject> BridJRuntime.TypeInfo<T> getTypeInfo(Type type)
getTypeInfo in interface BridJRuntimegetTypeInfo in class CRuntimepublic Type getType(Class<?> cls, Object[] targsAndArgs, int[] typeParamCount)
getType in interface BridJRuntimegetType in class CRuntimepublic <T extends CPPObject> CPPRuntime.CPPTypeInfo<T> getCPPTypeInfo(Type type)
Copyright © 2009-2015. All Rights Reserved.