hmi.graphics.gen
Class GenJOGLContext
java.lang.Object
hmi.graphics.gen.GenJOGLContext
public final class GenJOGLContext
- extends Object
Generates the JOGL binding that should implement the methods from
GLBinding.java. Runs from the HmiGraphics project directory, expects the
bindings file inside the src/hmi/graphics/opengl directory.
- Author:
- Job Zwiers
|
Constructor Summary |
private |
GenJOGLContext()
Generate a newJOGLContext.java file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jogldir
private String jogldir
gendir
private String gendir
headerFile
private File headerFile
inp
private File inp
outp
private File outp
scan
private Scanner scan
hscan
private Scanner hscan
pw
private PrintWriter pw
definedInHeader
private Set<String> definedInHeader
pat
private Pattern pat
RESULTTYPEGROUP
private static final int RESULTTYPEGROUP
- See Also:
- Constant Field Values
FUNCNAMEGROUP
private static final int FUNCNAMEGROUP
- See Also:
- Constant Field Values
ARGTYPESGROUP
private static final int ARGTYPESGROUP
- See Also:
- Constant Field Values
hpat
private Pattern hpat
argPat
private Pattern argPat
ARGTYPEGROUP
private static final int ARGTYPEGROUP
- See Also:
- Constant Field Values
ARRAYBRACKETSGROUP
private static final int ARRAYBRACKETSGROUP
- See Also:
- Constant Field Values
ARGNAMEGROUP
private static final int ARGNAMEGROUP
- See Also:
- Constant Field Values
REMAININGARGTYPESGROUP
private static final int REMAININGARGTYPESGROUP
- See Also:
- Constant Field Values
GenJOGLContext
private GenJOGLContext()
- Generate a newJOGLContext.java file
joglCompile
private void joglCompile(String resultType,
String funcName,
String argTypes)
joglCompileArg
private void joglCompileArg(String argType,
boolean isArray,
String argName)
main
public static void main(String[] arg)
- Generate a newJOGLContext.java file