gov.llnl.babel.backend.matlab
Class ClientMexStub
java.lang.Object
gov.llnl.babel.backend.matlab.ClientMexStub
public class ClientMexStub
extends java.lang.Object
Class 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.
ClientMexStub(Extendable ext, Context context) - Create a
ClientMexStub object that will write symbol
information to the provided output language writer stream.
|
ClientMexStub
public ClientMexStub(Extendable ext,
Context context)
Create a ClientMexStub
object that will write symbol
information to the provided output language writer stream.
generateExtendableStub
public void generateExtendableStub()
throws CodeGenerationException
Generate the Mat client mexFunction source for a sidl class or interface type.
For the most part, the Java source defines the interfaces and classes
and the native methods. All of the real work is done by the JNI code.