Package com.jogamp.common.os
Interface DynamicLookupHelper
-
- All Known Implementing Classes:
DynamicLibraryBundle,NativeLibrary
public interface DynamicLookupHelperInterface callers may use ProcAddressHelper'sresethelper method to install function pointers into a ProcAddressTable. This must typically be written with native code.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUGstatic booleanDEBUG_LOOKUP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclaimAllLinkPermission()longdynamicLookupFunction(String funcName)Returns the function handle for function 'funcName'.booleanisFunctionAvailable(String funcName)Queries whether function 'funcName' is available.voidreleaseAllLinkPermission()
-
-
-
Method Detail
-
claimAllLinkPermission
void claimAllLinkPermission() throws SecurityException- Throws:
SecurityException- if user is not granted access for the library set.
-
releaseAllLinkPermission
void releaseAllLinkPermission() throws SecurityException- Throws:
SecurityException- if user is not granted access for the library set.
-
dynamicLookupFunction
long dynamicLookupFunction(String funcName) throws SecurityException
Returns the function handle for function 'funcName'.- Throws:
SecurityException- if user is not granted access for the library set.
-
isFunctionAvailable
boolean isFunctionAvailable(String funcName) throws SecurityException
Queries whether function 'funcName' is available.- Throws:
SecurityException- if user is not granted access for the library set.
-
-