| Modifier and Type | Field and Description |
|---|---|
| protected Set | |
| public static final String | PROCADDRESS_VAR_PREFIX
Must be synchronized w/ ProcAddressTable.PROCADDRESS_VAR_PREFIX !!! |
| protected String | |
| protected String | |
| protected PrintWriter | |
| private TypeDictionary | |
| protected static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap)
Overrides com. Implements com. |
| protected void | |
| public void | beginStructs(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap)
Overrides com. Implements com. |
| protected boolean | |
| protected JavaConfiguration | createConfig()
Overrides com. |
| protected void | |
| public void | endFunctions()
Overrides com. Implements com. |
| protected void | |
| protected void | fixSecurityModifiers(final JavaMethodBindingEmitter javaEmitter)
If 'native', enforce 'private native' modifiers. |
| protected List | generateMethodBindingEmitters(final FunctionSymbol sym)
Overrides com. |
| private List | |
| protected void | generateModifiedEmitters(final JavaMethodBindingEmitter baseJavaEmitter, final List<FunctionEmitter> emitters)
|
| protected void | generateModifiedEmitters(final CMethodBindingEmitter baseCEmitter, final List<FunctionEmitter> emitters)
|
| protected String | getFunctionPointerTypedefName(final FunctionSymbol sym)
Returns the name of the typedef for a pointer to the function represented by the argument as defined by the ProcAddressNameExpr in the .cfg file. |
| protected ProcAddressConfiguration | |
| protected boolean | |
| protected boolean | |
| public String | |
| public String |
| emittedTableEntries | back to summary |
|---|---|
| protected Set<String> emittedTableEntries | |
| PROCADDRESS_VAR_PREFIX | back to summary |
|---|---|
| public static final String PROCADDRESS_VAR_PREFIX Must be synchronized w/ ProcAddressTable.PROCADDRESS_VAR_PREFIX !!! | |
| tableClassName | back to summary |
|---|---|
| protected String tableClassName | |
| tableClassPackage | back to summary |
|---|---|
| protected String tableClassPackage | |
| tableWriter | back to summary |
|---|---|
| protected PrintWriter tableWriter | |
| typedefDictionary | back to summary |
|---|---|
| private TypeDictionary typedefDictionary | |
| WRAP_PREFIX | back to summary |
|---|---|
| protected static final String WRAP_PREFIX | |
| ProcAddressEmitter | back to summary |
|---|---|
| public ProcAddressEmitter() | |
| beginFunctions | back to summary |
|---|---|
| public void beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap) throws Exception Overrides com. Implements com.
| |
| beginProcAddressTable | back to summary |
|---|---|
| protected void beginProcAddressTable() throws Exception | |
| beginStructs | back to summary |
|---|---|
| public void beginStructs(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap) throws Exception Overrides com. Implements com.
| |
| callThroughProcAddress | back to summary |
|---|---|
| protected boolean callThroughProcAddress(final FunctionSymbol sym) | |
| createConfig | back to summary |
|---|---|
| protected JavaConfiguration createConfig() Overrides com. Doc from com. Create the object that will read and store configuration information for this JavaEmitter.
| |
| emitProcAddressTableEntryForString | back to summary |
|---|---|
| protected void emitProcAddressTableEntryForString(final String str) | |
| endFunctions | back to summary |
|---|---|
| public void endFunctions() throws Exception Overrides com. Implements com.
| |
| endProcAddressTable | back to summary |
|---|---|
| protected void endProcAddressTable() throws Exception | |
| fixSecurityModifiers | back to summary |
|---|---|
| protected void fixSecurityModifiers(final JavaMethodBindingEmitter javaEmitter) If 'native', enforce 'private native' modifiers. | |
| generateMethodBindingEmitters | back to summary |
|---|---|
| protected List Overrides com. Doc from com. Generate all appropriate Java bindings for the specified C function symbols.
| |
| generateMethodBindingEmittersImpl | back to summary |
|---|---|
| private List | |
| generateModifiedEmitters | back to summary |
|---|---|
| protected void generateModifiedEmitters(final JavaMethodBindingEmitter baseJavaEmitter, final List<FunctionEmitter> emitters) | |
| generateModifiedEmitters | back to summary |
|---|---|
| protected void generateModifiedEmitters(final CMethodBindingEmitter baseCEmitter, final List<FunctionEmitter> emitters) | |
| getFunctionPointerTypedefName | back to summary |
|---|---|
| protected String getFunctionPointerTypedefName(final FunctionSymbol sym) Returns the name of the typedef for a pointer to the function represented by the argument as defined by the ProcAddressNameExpr in the .cfg file. For example, in the OpenGL headers, if the argument is the function "glFuncName", the value returned will be "PFNGLFUNCNAMEPROC". This returns a valid string regardless of whether or not the typedef is actually defined. | |
| getProcAddressConfig | back to summary |
|---|---|
| protected ProcAddressConfiguration getProcAddressConfig() | |
| hasFunctionPointerTypedef | back to summary |
|---|---|
| protected boolean hasFunctionPointerTypedef(final FunctionSymbol sym) | |
| needsModifiedEmitters | back to summary |
|---|---|
| protected boolean needsModifiedEmitters(final FunctionSymbol sym) | |
| runtimeExceptionType | back to summary |
|---|---|
| public String runtimeExceptionType() | |
| unsupportedExceptionType | back to summary |
|---|---|
| public String unsupportedExceptionType() | |