gov.llnl.babel.backend.python
Class PythonServerCSource

java.lang.Object
  extended by gov.llnl.babel.backend.python.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonServerCSource

public PythonServerCSource(Class cls,
                           Context context)
Method Detail

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.