Package com.jogamp.common.os
Interface DynamicLookupHelper
-
- All Known Implementing Classes:
DynamicLibraryBundle
,NativeLibrary
public interface DynamicLookupHelper
Interface callers may use ProcAddressHelper'sreset
helper 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 boolean
DEBUG
static boolean
DEBUG_LOOKUP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
claimAllLinkPermission()
long
dynamicLookupFunction(String funcName)
Returns the function handle for function 'funcName'.boolean
isFunctionAvailable(String funcName)
Queries whether function 'funcName' is available.void
releaseAllLinkPermission()
-
-
-
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.
-
-