com.jogamp.gluegen.runtime
Class ProcAddressTable

java.lang.Object
  extended by com.jogamp.gluegen.runtime.ProcAddressTable

public abstract class ProcAddressTable
extends java.lang.Object

Superclass for all generated ProcAddressTables.

Author:
Kenneth Russel, Michael Bien, Sven Gothel

Field Summary
protected static boolean DEBUG
           
protected static java.lang.String DEBUG_PREFIX
           
protected static int debugNum
           
static java.lang.String PROCADDRESS_VAR_PREFIX
           
 
Constructor Summary
ProcAddressTable()
           
ProcAddressTable(FunctionAddressResolver resolver)
           
 
Method Summary
abstract  long getAddressFor(java.lang.String functionName)
          Returns the address for the given function name.
protected static java.io.PrintStream getDebugOutStream()
           
 void reset(DynamicLookupHelper lookup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROCADDRESS_VAR_PREFIX

public static final java.lang.String PROCADDRESS_VAR_PREFIX
See Also:
Constant Field Values

DEBUG

protected static boolean DEBUG

DEBUG_PREFIX

protected static java.lang.String DEBUG_PREFIX

debugNum

protected static int debugNum
Constructor Detail

ProcAddressTable

public ProcAddressTable()

ProcAddressTable

public ProcAddressTable(FunctionAddressResolver resolver)
Method Detail

getAddressFor

public abstract long getAddressFor(java.lang.String functionName)
Returns the address for the given function name.

Throws:
java.lang.RuntimeException - if the Table has not been initialized yet.

reset

public void reset(DynamicLookupHelper lookup)
           throws java.lang.RuntimeException
Throws:
java.lang.RuntimeException

getDebugOutStream

protected static java.io.PrintStream getDebugOutStream()