Package | Description |
---|---|
org.bridj | |
org.bridj.cpp |
BridJ C++ runtime.
|
org.bridj.cpp.com |
BridJ COM support (Windows-only, working but under-tested).
|
org.bridj.cpp.com.shell |
BridJ mappings for some common Windows COM Shell interfaces.
|
org.bridj.cpp.mfc |
BridJ Windows MFC runtime (not working properly yet).
|
org.bridj.cpp.std |
Bindings for some C++ STL class templates.
|
org.bridj.jawt |
BridJ JAWT utilities (to get the native peer handle of an AWT
Component ). |
org.bridj.objc |
BridJ Objective-C runtime (MacOS X only, not working properly yet).
|
Modifier and Type | Interface and Description |
---|---|
static interface |
BridJRuntime.TypeInfo<T extends NativeObject>
Type information metadata + lifecycle management methods.
|
class |
CRuntime.CTypeInfo<T extends NativeObject> |
Modifier and Type | Class and Description |
---|---|
class |
Callback<C extends Callback<C>>
Native C callback (beware : don't let your callbacks be GC'd before they're
used).
|
class |
ComplexDouble |
class |
DynamicFunction<R>
Generic C function which invocation involves a bit of Java reflection.
|
class |
StructObject
Base class for C structs.
|
static class |
TimeT.timeval |
Modifier and Type | Method and Description |
---|---|
<T extends NativeObject> |
CRuntime.allocate(Class<T> type,
int constructorId,
Object... args) |
static <O extends NativeObject> |
BridJ.copyNativeObjectToAddress(O value,
Type type,
Pointer<O> ptr) |
static <O extends NativeObject> |
BridJ.createNativeObjectFromPointer(Pointer<? super O> pointer,
Type type) |
static <O extends NativeObject> |
BridJ.createNativeObjectFromReturnValuePointer(Pointer<? super O> pointer,
Type type) |
<T extends NativeObject> |
CRuntime.getActualInstanceClass(Pointer<T> pInstance,
Type officialType) |
<T extends NativeObject> |
BridJRuntime.getActualInstanceClass(Pointer<T> pInstance,
Type officialType) |
<O extends NativeObject> |
Pointer.getNativeObject(Class<O> type)
Read a native object value from the pointed memory location
|
<O extends NativeObject> |
Pointer.getNativeObject(Type type)
Read a native object value from the pointed memory location
|
<O extends NativeObject> |
Pointer.getNativeObjectAtOffset(long byteOffset,
Class<O> type)
Deprecated.
Avoid using the byte offset methods variants unless you know what you're doing (may cause alignment issues). Please favour
Pointer.getNativeObject(Class) over this method. |
<O extends NativeObject> |
Pointer.getNativeObjectAtOffset(long byteOffset,
Type type)
Deprecated.
Avoid using the byte offset methods variants unless you know what you're doing (may cause alignment issues). Please favour
Pointer.getNativeObject(Type) over this method. |
<O extends NativeObject> |
StructIO.getNativeObjectField(StructObject struct,
int fieldIndex) |
static <N extends NativeObject> |
Pointer.getPointer(N instance)
Get a pointer to a native object (C++ or ObjectiveC class, struct, union, callback...)
|
static <R extends NativeObject> |
Pointer.getPointer(NativeObject instance,
Type targetType)
Get a pointer to a native object, specifying the type of the pointer's target.
|
<T extends NativeObject> |
CRuntime.getTypeForCast(Type type) |
<T extends NativeObject> |
CRuntime.getTypeInfo(Type type) |
<T extends NativeObject> |
BridJRuntime.getTypeInfo(Type type) |
static <N extends NativeObject> |
Pointer.pointerTo(N instance)
Deprecated.
Will be removed in a future version, please use
Pointer.getPointer(NativeObject) instead. |
static <T extends NativeObject> |
BridJ.protectFromGC(T ob)
Keep a hard reference to a native object to avoid its garbage
collection.
|
static <T extends NativeObject> |
BridJ.readFromNative(T instance)
Some native object need manual synchronization between Java fields and
native memory.
|
static <O extends NativeObject> |
BridJ.setJavaObjectFromNativePeer(long peer,
O object) |
<O extends NativeObject> |
Pointer.setNativeObject(O value,
Type type)
Write a native object value to the pointed memory location
|
<O extends NativeObject> |
StructIO.setNativeObjectField(StructObject struct,
int fieldIndex,
O value) |
static <T extends NativeObject> |
BridJ.unprotectFromGC(T ob)
Drop the hard reference created with
BridJ.protectFromGC(NativeObject) . |
static <T extends NativeObject> |
BridJ.writeToNative(T instance)
Some native object need manual synchronization between Java fields and
native memory.
|
Modifier and Type | Method and Description |
---|---|
NativeObject |
NativeObject.clone() |
Modifier and Type | Method and Description |
---|---|
static void |
BridJ.delete(NativeObject nativeObject) |
static String |
BridJ.describe(NativeObject instance)
Creates a string that describes the provided native object, printing
generally-relevant internal data (for instance for structures, this will
typically display the fields values).
|
static long |
Pointer.getAddress(NativeObject instance,
Class targetType)
Get the address of a native object, specifying the type of the pointer's target (same as
getPointer(instance, targetType).getPeer() , see Pointer.getPointer(NativeObject, Type) ). |
static <R extends NativeObject> |
Pointer.getPointer(NativeObject instance,
Type targetType)
Get a pointer to a native object, specifying the type of the pointer's target.
|
Type |
AbstractBridJRuntime.getType(NativeObject instance) |
Type |
BridJRuntime.getType(NativeObject instance) |
Modifier and Type | Class and Description |
---|---|
class |
CPPObject
Base class for C++ structs and classes.
|
static class |
CPPRuntime.CPPDestructor |
Modifier and Type | Method and Description |
---|---|
<T extends NativeObject> |
CPPRuntime.getActualInstanceClass(Pointer<T> pInstance,
Type officialType) |
<T extends NativeObject> |
CPPRuntime.getTypeInfo(Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
CPPRuntime.getType(NativeObject instance) |
Modifier and Type | Method and Description |
---|---|
<T extends NativeObject> |
COMRuntime.getTypeInfo(Type type) |
Modifier and Type | Class and Description |
---|---|
class |
IShellFolder |
class |
IShellWindows
IShellWindows provides access to the collection of open Shell windows (see
See http://msdn.microsoft.com/en-us/library/cc836570(VS.85).aspx)
|
class |
ITaskbarList |
class |
ITaskbarList2 |
class |
ITaskbarList3 |
static class |
ITaskbarList3.THUMBBUTTON |
Modifier and Type | Class and Description |
---|---|
class |
CArchive |
class |
CCmdUI |
class |
CObject |
class |
CPoint |
class |
CRuntimeClass |
class |
CString |
class |
CStringT<BaseType,StringTraits> |
class |
CWnd |
class |
MFCObject |
Modifier and Type | Method and Description |
---|---|
<T extends NativeObject> |
MFCRuntime.getActualInstanceClass(Pointer<T> pInstance,
Type officialType) |
Modifier and Type | Class and Description |
---|---|
class |
list<T>
Binding for STL's
std::vector class.
|
static class |
list.list_node<T> |
class |
vector<T>
Binding for STL's
std::vector class.
|
Modifier and Type | Class and Description |
---|---|
class |
NSAutoreleasePool |
class |
NSCalendar |
class |
NSDictionary |
class |
NSInvocation |
class |
NSMethodSignature |
class |
NSNumber |
class |
NSObject |
class |
NSString |
class |
ObjCBlock |
class |
ObjCClass |
class |
ObjCObject |
class |
ObjCProxy |
Modifier and Type | Method and Description |
---|---|
<T extends NativeObject> |
ObjectiveCRuntime.getTypeInfo(Type type) |
Constructor and Description |
---|
ObjCObject(Pointer<? extends NativeObject> peer) |
Copyright © 2009-2020. All Rights Reserved.