com.jogamp.common.os
Class DynamicLibraryBundle
java.lang.Object
com.jogamp.common.os.DynamicLibraryBundle
- All Implemented Interfaces:
- DynamicLookupHelper
public class DynamicLibraryBundle
- extends Object
- implements DynamicLookupHelper
Provides bundling of:
- The to-be-glued native library, eg OpenGL32.dll. From hereon this is referred as the Tool.
- The JNI glue-code native library, eg jogl_desktop.dll. From heron this is referred as the Glue
An instance provides a complete DynamicLookupHelper
to reset
the ProcAddressTable
.
At construction, it:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected static final boolean DEBUG
DEBUG_LOOKUP
protected static final boolean DEBUG_LOOKUP
nativeLibraries
protected List nativeLibraries
DynamicLibraryBundle
public DynamicLibraryBundle(DynamicLibraryBundleInfo info)
isLibComplete
public final boolean isLibComplete()
getToolLibNumber
public final int getToolLibNumber()
getToolLibLoadedNumber
public final int getToolLibLoadedNumber()
isToolLibComplete
public final boolean isToolLibComplete()
isToolLibLoaded
public final boolean isToolLibLoaded()
isToolLibLoaded
public final boolean isToolLibLoaded(int i)
getGlueLibNumber
public final int getGlueLibNumber()
getGlueLibLoadedNumber
public final int getGlueLibLoadedNumber()
isGlueLibComplete
public final boolean isGlueLibComplete()
isGlueLibLoaded
public final boolean isGlueLibLoaded(int i)
getBundleInfo
public final DynamicLibraryBundleInfo getBundleInfo()
getToolGetProcAddressHandle
protected long getToolGetProcAddressHandle()
loadFirstAvailable
protected NativeLibrary loadFirstAvailable(List libNames,
ClassLoader loader,
boolean global)
dynamicLookupFunction
public long dynamicLookupFunction(String funcName)
- Description copied from interface:
DynamicLookupHelper
- Try to fetch the function pointer for function 'funcName'.
- Specified by:
dynamicLookupFunction
in interface DynamicLookupHelper