Package org.bridj

BridJ core classes and C runtime (Pointer, BridJ, SizeT, Platform, LastError...).

See:
          Description

Interface Summary
BridJRuntime Interface that each specific pluggable native runtime must implement.
BridJRuntime.TypeInfo<T extends NativeObject> Type information metadata + lifecycle management methods.
CallbackInterface For internal use in BridJ only : marks a callback
DynamicCallback<R>  
GenericCallback Generic Java callback to be called from C.
IntValuedEnum<E extends Enum<E>> Interface for Java enumerations that have an int value associated.
NativeLibrary.SymbolAccepter Filter for symbols
NativeList<T> Interface for lists that use a native storage.
NativeObjectInterface Marker interface that's useful to know that implementations extend NativeObject (when only dealing with interfaces)
Pointer.Releaser Object responsible for reclamation of some pointed memory when it's not used anymore.
StructIO.Customizer Deprecated. The StructIO API is subject to future changes.
ValuedEnum<E extends Enum<E>> Interface for Java enumerations that have an integral value associated
 

Class Summary
AbstractBridJRuntime Base class for implementation of runtimes
AndroidSupport  
BridJ BridJ's central class.
Callback<C extends Callback<C>> Native C callback (beware : don't let your callbacks be GC'd before they're used).
CLong Wraps a value which size is the same as the 'long' C type (32 bits on a 32 bits platform, 64 bits on a 64 bits platform with GCC and still 32 bits with MSVC++ on 64 bits platforms)
CRuntime C runtime (used by default when no Runtime annotation is found).
CRuntime.MethodCallInfoBuilder  
DynamicFunction<R> Generic C function which invocation involves a bit of Java reflection.
DynamicFunctionFactory Factory that is able to create dynamic functions bindings with a given signature
FlagSet<E extends Enum<E>> Set of int-valued enum values that is itself int-valued (bitwise OR of all the values).
FlagSet.IntFlagSet<E extends Enum<E>>  
HeadersReconstructor Unfinished experiment to (partially) reconstruct a header out of parsed shared libraries symbols.
JNI Deprecated. These methods can cause serious issues (segmentation fault, system crashes) if used without care : there are little to no checks performed on the arguments.
MethodCallInfo Internal class that encapsulate all the knowledge about a native method call : signatures (ASM, dyncall and Java), calling convention, context...
NativeEntities Collection of handles to natively-bound classes and methods (which native resources can be released all at once).
NativeEntities.Builder Helper class to build a NativeEntities instance easily.
NativeLibrary Representation of a native shared library, with symbols retrieval / matching facilities.
NativeObject Base class for native objects.
Platform Information about the execution platform (OS, architecture, native sizes...) and platform-specific actions.
Platform.DeleteFiles  
Pointer<T> Pointer to a native memory location.
PointerIO<T> Helper class that knows how to read/write data from/to a Pointer.
SizeT Wraps a value which size is the same as the 'size_t' C type (32 bits on a 32 bits platform, 64 bits on a 64 bits platform)
StructIO Representation of a C struct's memory layout, built thanks to the annotations found in the Java bindings.
StructIO.AggregatedFieldDesc  
StructIO.DefaultCustomizer  
StructIO.FieldDecl  
StructIO.FieldDesc Internal metadata on a struct field
StructObject Base class for C structs.
TimeT Wraps a value which size is the same as the 'time_t' C type (defined in time.h)
TimeT.timeval  
TimeT.timeval_customizer  
TypedPointer Class used by JNAerator to represent pointers to unknown structs that were typedef-ed in the following frequent pattern : typedef struct _A *A;
Version  
 

Enum Summary
Pointer.ListType Types of pointer-based list implementations that can be created through Pointer.asList() or Pointer.asList(ListType).
Pointer.StringType Type of a native character string.
 

Error Summary
LastError Native error that correspond to the errno or GetLastError() mechanism.
NativeError Native error encapsulated as a Java error.
 

Package org.bridj Description

BridJ core classes and C runtime (Pointer, BridJ, SizeT, Platform, LastError...).

See BridJ's wiki for more information.



Copyright © 2009-2012. All Rights Reserved.