Package com.jogamp.gluegen.structgen
Class CStructAnnotationProcessor.AnnotationProcessorJavaStructEmitter
- java.lang.Object
-
- com.jogamp.gluegen.JavaEmitter
-
- com.jogamp.gluegen.structgen.CStructAnnotationProcessor.AnnotationProcessorJavaStructEmitter
-
- All Implemented Interfaces:
GlueEmitter
- Enclosing class:
- CStructAnnotationProcessor
public static class CStructAnnotationProcessor.AnnotationProcessorJavaStructEmitter extends JavaEmitter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jogamp.gluegen.JavaEmitter
JavaEmitter.EmissionStyle, JavaEmitter.MethodAccess, JavaEmitter.Ownership
-
-
Field Summary
-
Fields inherited from class com.jogamp.gluegen.JavaEmitter
cfg, LOG
-
-
Constructor Summary
Constructors Constructor Description AnnotationProcessorJavaStructEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CCodeUnit
openCUnit(String filename, String cUnitName)
protected JavaCodeUnit
openJavaUnit(String filename, String packageName, String simpleClassName)
-
Methods inherited from class com.jogamp.gluegen.JavaEmitter
addStrings2Buffer, beginDefines, beginEmission, beginFunctions, beginStructLayout, beginStructs, createConfig, cUnit, emitAllFileFooters, emitAllFileHeaders, emitCustomJavaCode, emitCustomJNICode, emitDefine, emitFunctions, emitStruct, endDefines, endEmission, endFunctions, endStructLayout, endStructs, expandMethodBinding, generateMethodBindingEmitters, generatePrivateEmitters, generatePublicEmitters, getClassAccessModifiers, getConfig, getImplPackageName, getJavaOutputDir, getJavaPackageName, getJNIMethodNamePrefix, javaImplUnit, javaUnit, jniMangle, layoutStruct, mangleBinding, prepCEmitter, readConfigurationFile
-
-
-
-
Method Detail
-
openCUnit
protected CCodeUnit openCUnit(String filename, String cUnitName) throws IOException
- Overrides:
openCUnit
in classJavaEmitter
- Parameters:
filename
- the class's full filename to open w/ write accesscUnitName
- the base c-unit name, i.e. c-file basename with suffix- Throws:
IOException
-
openJavaUnit
protected JavaCodeUnit openJavaUnit(String filename, String packageName, String simpleClassName) throws IOException
- Overrides:
openJavaUnit
in classJavaEmitter
- Parameters:
filename
- the class's full filename to open w/ write accesspackageName
- the package name of the classsimpleClassName
- the simple class name, i.e. w/o package name or c-file basenamegenerator
- informal optional object that is creating this unit, used to be mentioned in a warning message if not null.- Throws:
IOException
-
-