gov.llnl.babel.backend.matlab
public class ClientMexStub extends java.lang.Object
ClientMexStub
writes the Matlab native code descriptions that
will point to the JNI C code written by ClientJNI
. The class
constructor takes a language writer and method generateCode
writes the Matlab client code for the specified symbol to the output stream.
The language writer output stream is not closed by this object.Constructor and Description |
---|
ClientMexStub(Extendable ext,
Context context)
Create a
ClientMexStub object that will write symbol
information to the provided output language writer stream. |
Modifier and Type | Method and Description |
---|---|
static void |
generateCode(Extendable ext,
Context context)
Generate Matlab Mex function stub for CLASS symbol.
|
void |
generateExtendableStub()
Generate the Mat client mexFunction source for a sidl class or interface type.
|
public ClientMexStub(Extendable ext, Context context)
ClientMexStub
object that will write symbol
information to the provided output language writer stream.public static void generateCode(Extendable ext, Context context) throws CodeGenerationException
CodeGenerationException
public void generateExtendableStub() throws CodeGenerationException
CodeGenerationException