gov.llnl.babel.backend.matlab
Class ClientMatlab
java.lang.Object
gov.llnl.babel.backend.matlab.ClientMatlab
public class ClientMatlab
extends java.lang.Object
Class ClientMatlab
writes the Matlab class constructor description
that will point to the private mexFunction code written by ClientMexStub
.
The class constructor takes a language writer and method generateCode
writes the mat-function for the specified symbol to the output stream.
ClientMatlab
public ClientMatlab(LanguageWriterForMatlab writer,
Context context)
Create a ClientMatlab
object that will write symbol
information to the provided output language writer stream.
generateCode
public void generateCode(Symbol symbol)
throws CodeGenerationException
Generate the Matlab client mat-function source for a sidl class or
interface type. All of the real work is done by ClientMex code.