GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.os.DynamicLookupHelper Interface Reference

Interface callers may use ProcAddressHelper's reset helper method to install function pointers into a ProcAddressTable. More...

Inheritance diagram for com.jogamp.common.os.DynamicLookupHelper:
Collaboration diagram for com.jogamp.common.os.DynamicLookupHelper:

Public Member Functions

void claimAllLinkPermission () throws SecurityException
 
void releaseAllLinkPermission () throws SecurityException
 
boolean isOpen ()
 Returns true if library is loaded and open, otherwise false. More...
 
long dynamicLookupFunction (String funcName) throws SecurityException
 Returns the function handle for function 'funcName'. More...
 
boolean isFunctionAvailable (String funcName) throws SecurityException
 Queries whether function 'funcName' is available. More...
 

Static Public Attributes

static final boolean DEBUG = Debug.debug("NativeLibrary")
 
static final boolean DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup")
 

Detailed Description

Interface callers may use ProcAddressHelper's reset helper method to install function pointers into a ProcAddressTable.

This must typically be written with native code.

Definition at line 49 of file DynamicLookupHelper.java.

Member Function Documentation

◆ claimAllLinkPermission()

void com.jogamp.common.os.DynamicLookupHelper.claimAllLinkPermission ( ) throws SecurityException
Exceptions
SecurityExceptionif user is not granted access for the library set.

Implemented in com.jogamp.common.os.DynamicLibraryBundle, and com.jogamp.common.os.NativeLibrary.

◆ dynamicLookupFunction()

long com.jogamp.common.os.DynamicLookupHelper.dynamicLookupFunction ( String  funcName) throws SecurityException

Returns the function handle for function 'funcName'.

Exceptions
SecurityExceptionif user is not granted access for the library set.

Implemented in com.jogamp.common.os.DynamicLibraryBundle, and com.jogamp.common.os.NativeLibrary.

◆ isFunctionAvailable()

boolean com.jogamp.common.os.DynamicLookupHelper.isFunctionAvailable ( String  funcName) throws SecurityException

Queries whether function 'funcName' is available.

Exceptions
SecurityExceptionif user is not granted access for the library set.

Implemented in com.jogamp.common.os.DynamicLibraryBundle, and com.jogamp.common.os.NativeLibrary.

◆ isOpen()

boolean com.jogamp.common.os.DynamicLookupHelper.isOpen ( )

Returns true if library is loaded and open, otherwise false.

Implemented in com.jogamp.common.os.DynamicLibraryBundle, and com.jogamp.common.os.NativeLibrary.

◆ releaseAllLinkPermission()

void com.jogamp.common.os.DynamicLookupHelper.releaseAllLinkPermission ( ) throws SecurityException
Exceptions
SecurityExceptionif user is not granted access for the library set.

Implemented in com.jogamp.common.os.DynamicLibraryBundle, and com.jogamp.common.os.NativeLibrary.

Member Data Documentation

◆ DEBUG

final boolean com.jogamp.common.os.DynamicLookupHelper.DEBUG = Debug.debug("NativeLibrary")
static

Definition at line 50 of file DynamicLookupHelper.java.

◆ DEBUG_LOOKUP

final boolean com.jogamp.common.os.DynamicLookupHelper.DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup")
static

Definition at line 51 of file DynamicLookupHelper.java.


The documentation for this interface was generated from the following file: