gov.llnl.babel.backend.matlab
public class ClientMatlab extends java.lang.Object
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.Constructor and Description |
---|
ClientMatlab(LanguageWriterForMatlab writer,
Context context)
Create a
ClientMatlab object that will write symbol
information to the provided output language writer stream. |
Modifier and Type | Method and Description |
---|---|
void |
generateCode(Symbol symbol)
Generate the Matlab client mat-function source for a sidl class or
interface type.
|
static void |
generateCode(Symbol symbol,
LanguageWriterForMatlab writer,
Context context)
This utility function Writes Matlab client information into the provided
language writer output stream.
|
public ClientMatlab(LanguageWriterForMatlab writer, Context context)
ClientMatlab
object that will write symbol
information to the provided output language writer stream.public static void generateCode(Symbol symbol, LanguageWriterForMatlab writer, Context context) throws CodeGenerationException
CodeGenerationException
public void generateCode(Symbol symbol) throws CodeGenerationException
CodeGenerationException