gov.llnl.babel.backend.python

Class PythonServerCSource


public class PythonServerCSource
extends java.lang.Object

The purpose of this class is to generate the C skeleton code to support sidl objects implemented in Python. The skeleton code makes the link between the independent object representation (IOR) and the Python implementation of the sidl class. The skeleton must map datatypes in C to datatypes in Python. It must also provide C functions to populate the static and object entry point vectors for the IOR.

Constructor Summary

PythonServerCSource(Class cls, Context context)

Method Summary

void
generateCode()
Generate the C skeleton source file for a Python implementation of a sidl class.

Constructor Details

PythonServerCSource

public PythonServerCSource(Class cls,
                           Context context)

Method Details

generateCode

public void generateCode()
            throws CodeGenerationException
Generate the C skeleton source file for a Python implementation of a sidl class.
Throws:
CodeGenerationException - this a catch all exception for problems during the code generation phase.