Top Constructors Methods
jogamp.common.os

pack-priv abstract Class UnixDynamicLinkerImpl

extends DynamicLinkerImpl
Class Inheritance
Known Direct Subclasses
jogamp.common.os.BionicDynamicLinker32bitImpl, jogamp.common.os.BionicDynamicLinker64BitImpl, jogamp.common.os.MacOSXDynamicLinkerImpl, jogamp.common.os.PosixDynamicLinkerImpl

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final void
closeLibraryImpl(final long libraryHandle)

Implements abstract jogamp.common.os.DynamicLinkerImpl.closeLibraryImpl.

protected static native int
dlclose(long arg0)

Interface to C language function: int dlclose(void * );

protected static native String
dlerror()

Interface to C language function: char * dlerror(void);

protected static native long
dlopen(String arg0, int arg1)

Interface to C language function: void * dlopen(const char * , int);

protected static native long
dlsym(long arg0, String arg1)

Interface to C language function: void * dlsym(void * , const char * );

public final String
getLastError()

Implements com.jogamp.common.os.DynamicLinker.getLastError.

Returns a string containing the last error.
protected final long
lookupSymbolLocalImpl(final long libraryHandle, final String symbolName)

Implements abstract jogamp.common.os.DynamicLinkerImpl.lookupSymbolLocalImpl.

Inherited from jogamp.common.os.DynamicLinkerImpl:
claimAllLinkPermissioncloseLibrarylookupSymbollookupSymbolGloballookupSymbolGlobalImplopenLibraryGlobalopenLibraryGlobalImplopenLibraryLocalopenLibraryLocalImplreleaseAllLinkPermission

Constructor Detail

UnixDynamicLinkerImplback to summary
pack-priv UnixDynamicLinkerImpl()

Method Detail

closeLibraryImplback to summary
protected final void closeLibraryImpl(final long libraryHandle) throws SecurityException

Implements abstract jogamp.common.os.DynamicLinkerImpl.closeLibraryImpl.

Annotations
@Override
dlcloseback to summary
protected static native int dlclose(long arg0)

Interface to C language function:
int dlclose(void * );

dlerrorback to summary
protected static native String dlerror()

Interface to C language function:
char * dlerror(void);

dlopenback to summary
protected static native long dlopen(String arg0, int arg1)

Interface to C language function:
void * dlopen(const char * , int);

dlsymback to summary
protected static native long dlsym(long arg0, String arg1)

Interface to C language function:
void * dlsym(void * , const char * );

getLastErrorback to summary
public final String getLastError()

Implements com.jogamp.common.os.DynamicLinker.getLastError.

Doc from com.jogamp.common.os.DynamicLinker.getLastError.

Returns a string containing the last error. Maybe called for debuging purposed if any method fails.

Returns:String

error string, maybe null. A null or non-null value has no semantics.

Annotations
@Override
lookupSymbolLocalImplback to summary
protected final long lookupSymbolLocalImpl(final long libraryHandle, final String symbolName) throws SecurityException

Implements abstract jogamp.common.os.DynamicLinkerImpl.lookupSymbolLocalImpl.

Annotations
@Override