Top Description Fields Constructors Methods
jogamp.opengl.macosx.cgl

public final Class CGLExtProcAddressTable

extends ProcAddressTable
Class Inheritance
Imports
java.util.*, com.jogamp.opengl.*, com.jogamp.opengl.fixedfunc.*, jogamp.opengl.*, com.jogamp.gluegen.runtime.ProcAddressTable, com.jogamp.common.util.SecurityUtil

This table is a cache of pointers to the dynamically-linkable C library.
See Also
ProcAddressTable

Field Summary

Inherited from com.jogamp.gluegen.runtime.ProcAddressTable:
DEBUGDEBUG_PREFIXdebugNum

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public long
getAddressFor(String functionNameUsr)

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

This is a convenience method to query the native function handle by name.
protected boolean
isFunctionAvailableImpl(String functionNameUsr)

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

This is a convenience method to query the native function existence by name.
Inherited from com.jogamp.gluegen.runtime.ProcAddressTable:
getNullPointerFunctionsinitEntryisFunctionAvailableresettoString

Constructor Detail

CGLExtProcAddressTableback to summary
public CGLExtProcAddressTable()
CGLExtProcAddressTableback to summary
public CGLExtProcAddressTable(FunctionAddressResolver resolver)

Method Detail

getAddressForback to summary
public long getAddressFor(String functionNameUsr) throws SecurityException, IllegalArgumentException

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

Doc from com.jogamp.gluegen.runtime.ProcAddressTable.getAddressFor.

This is a convenience method to query the native function handle by name.

It lets you avoid having to manually compute the "PROCADDRESS_VAR_PREFIX + <functionName>" member variable name and look it up via reflection.

If a SecurityManager is installed, user needs link permissions for all libraries, i.e. for new RuntimePermission("loadLibrary.*");!

Annotations
@Override
Exceptions
SecurityException:
if user is not granted access for all libraries.
IllegalArgumentException:
if this function is not in this table.
isFunctionAvailableImplback to summary
protected boolean isFunctionAvailableImpl(String functionNameUsr) throws IllegalArgumentException

Overrides com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

Doc from com.jogamp.gluegen.runtime.ProcAddressTable.isFunctionAvailableImpl.

This is a convenience method to query the native function existence by name.

It lets you avoid having to manually compute the "PROCADDRESS_VAR_PREFIX + <functionName>" member variable name and look it up via reflection.

Annotations
@Override
Exceptions
IllegalArgumentException:
if this function is not in this table.