|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Emits a Java source file that represents one element of the composable pipeline. More...
Public Member Functions | |
| void | emit (final Iterator< PlainMethod > methodsToWrap) throws IOException |
Protected Member Functions | |
| String | getDownstreamObjectName () |
| Get the name of the object through which API calls should be routed. More... | |
| String | getPrologObjectNameOpt () |
| Get the name of the object which shall be called as a prolog. More... | |
| void | emitMethodDocComment (final PrintWriter output, final Method m) |
| void | emitSignature (final PrintWriter output, final Method m) |
| void | emitBody (final PrintWriter output, final PlainMethod pm) |
| String | getArgListAsString (final Method m, final boolean includeArgTypes, final boolean includeArgNames) |
| String | getBaseInterfaceName () |
| The name of the class around which this pipeline is being composed. More... | |
| abstract String | getOutputName () |
| Get the output name for this pipeline class. More... | |
| void | preMethodEmissionHook (final PrintWriter output) |
| Called after the class headers have been generated, but before any method wrappers have been generated. More... | |
| abstract void | constructorHook (PrintWriter output) |
| Emits the constructor for the pipeline; called after the preMethodEmissionHook. More... | |
| void | postMethodEmissionHook (final PrintWriter output) |
| Called after the method wrappers have been generated, but before the closing parenthesis of the class is emitted. More... | |
| abstract void | preDownstreamCallHook (PrintWriter output, PlainMethod pm) |
| Called before the pipeline routes the call to the downstream object. More... | |
| abstract boolean | hasPreDownstreamCallHook (PlainMethod pm) |
| abstract void | postDownstreamCallHook (PrintWriter output, PlainMethod pm) |
| Called after the pipeline has routed the call to the downstream object, but before the calling function exits or returns a value. More... | |
| abstract boolean | hasPostDownstreamCallHook (PlainMethod pm) |
| abstract int | getMode () |
| abstract boolean | emptyMethodAllowed () |
| abstract boolean | emptyDownstreamAllowed () |
| abstract void | emitClassDocComment (PrintWriter output) |
| Emit a Javadoc comment for this pipeline class. More... | |
| void | emitGLIsMethodBody (final PrintWriter output, final PlainMethod plainMethod) |
| Emits one of the isGL* methods. More... | |
| void | emitGLGetMethodBody (final PrintWriter output, final PlainMethod plainMethod) |
| Emits one of the getGL* methods. More... | |
| void | emitSyntheticGLMethods (final PrintWriter output) |
| Emits all synthetic GL* methods, but not isGL* nor getGL*. More... | |
Protected Attributes | |
| String | basePackage |
| String | baseName |
| String | downstreamPackage |
| String | downstreamName |
| String | prologPackageOpt = null |
| String | prologNameOpt = null |
| String | outputDir |
| String | outputPackage |
| Class<?> | baseInterfaceClass |
| Class<?> | prologClassOpt = null |
| Class<?> | downstreamClass |
Emits a Java source file that represents one element of the composable pipeline.
Definition at line 343 of file BuildComposablePipeline.java.
|
abstractprotected |
Emits the constructor for the pipeline; called after the preMethodEmissionHook.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
| void com.jogamp.gluegen.opengl.BuildComposablePipeline.PipelineEmitter.emit | ( | final Iterator< PlainMethod > | methodsToWrap | ) | throws IOException |
Definition at line 383 of file BuildComposablePipeline.java.
|
protected |
Definition at line 483 of file BuildComposablePipeline.java.
|
abstractprotected |
Emit a Javadoc comment for this pipeline class.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
protected |
Emits one of the getGL* methods.
Definition at line 680 of file BuildComposablePipeline.java.
|
protected |
Emits one of the isGL* methods.
Definition at line 655 of file BuildComposablePipeline.java.
|
protected |
Definition at line 473 of file BuildComposablePipeline.java.
|
protected |
Definition at line 476 of file BuildComposablePipeline.java.
|
protected |
Emits all synthetic GL* methods, but not isGL* nor getGL*.
Definition at line 702 of file BuildComposablePipeline.java.
|
abstractprotected |
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
abstractprotected |
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
protected |
Definition at line 560 of file BuildComposablePipeline.java.
|
protected |
The name of the class around which this pipeline is being composed.
E.g., if this pipeline was constructed with "java.util.Set" as the baseInterfaceClassName, then this method will return "Set".
Definition at line 591 of file BuildComposablePipeline.java.
|
protected |
Get the name of the object through which API calls should be routed.
Definition at line 461 of file BuildComposablePipeline.java.
|
abstractprotected |
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
abstractprotected |
Get the output name for this pipeline class.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
protected |
Get the name of the object which shall be called as a prolog.
Definition at line 466 of file BuildComposablePipeline.java.
|
abstractprotected |
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
abstractprotected |
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
abstractprotected |
Called after the pipeline has routed the call to the downstream object, but before the calling function exits or returns a value.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
protected |
Called after the method wrappers have been generated, but before the closing parenthesis of the class is emitted.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
Definition at line 615 of file BuildComposablePipeline.java.
|
abstractprotected |
Called before the pipeline routes the call to the downstream object.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
|
protected |
Called after the class headers have been generated, but before any method wrappers have been generated.
Reimplemented in com.jogamp.gluegen.opengl.BuildComposablePipeline.CustomPipeline, com.jogamp.gluegen.opengl.BuildComposablePipeline.DebugPipeline, and com.jogamp.gluegen.opengl.BuildComposablePipeline.TracePipeline.
Definition at line 602 of file BuildComposablePipeline.java.
|
protected |
Definition at line 354 of file BuildComposablePipeline.java.
|
protected |
Definition at line 347 of file BuildComposablePipeline.java.
|
protected |
Definition at line 346 of file BuildComposablePipeline.java.
|
protected |
Definition at line 356 of file BuildComposablePipeline.java.
|
protected |
Definition at line 349 of file BuildComposablePipeline.java.
|
protected |
Definition at line 348 of file BuildComposablePipeline.java.
|
protected |
Definition at line 352 of file BuildComposablePipeline.java.
|
protected |
Definition at line 353 of file BuildComposablePipeline.java.
|
protected |
Definition at line 355 of file BuildComposablePipeline.java.
|
protected |
Definition at line 351 of file BuildComposablePipeline.java.
|
protected |
Definition at line 350 of file BuildComposablePipeline.java.