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.MethodCallInfoBuilder
BridJRuntime.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, unregister
isOverridenSignature
public 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 BridJRuntime
getType
in class AbstractBridJRuntime
public 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 BridJRuntime
getActualInstanceClass
in class CRuntime
public 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 BridJRuntime
getTypeInfo
in class CRuntime
public Type getType(Class<?> cls, Object[] targsAndArgs, int[] typeParamCount)
getType
in interface BridJRuntime
getType
in class CRuntime
public <T extends CPPObject> CPPRuntime.CPPTypeInfo<T> getCPPTypeInfo(Type type)
Copyright © 2009-2020. All Rights Reserved.