cvm.ucm.interpreter
Class UCM_I_Facade

java.lang.Object
  extended by cvm.ucm.interpreter.UCM_I_Facade

public class UCM_I_Facade
extends java.lang.Object

Façade class that provides an interface into the UCM_Interpreter subsystem. The purpose of this class is to aid future expansion of this subsystem. OCL Statement: Context: UCM_I_Facade inv: ucmAdapter<>null

Author:
Frank Hernandez

Constructor Summary
UCM_I_Facade()
           
 
Method Summary
 void attachNCB()
          Attaches the NCB instance to the CM_Interepreter_Mk.
 void attachSynthesisEngine(SEManager thisSE)
          Attaches the SynthesisEngine intance to the CM_Interepreter_Mk.
 void executeNext()
          This method singals the Microkernel to continue and execute the next command.
 void parseScript(java.lang.String script)
          This method executes a control scipt received from the SynthesisEngine.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UCM_I_Facade

public UCM_I_Facade()
Method Detail

parseScript

public void parseScript(java.lang.String script)
This method executes a control scipt received from the SynthesisEngine. OCL Statement: Context: UCM_I_Facade::parseScript(script, se,ncb) pre: script.length>0 and se<>null and ncb<>nul Context: UCM_I_Facade::parseScript(script, se,ncb) post: ucmAdapter<>null

Parameters:
script -
Throws:
org.codehaus.janino.CompileException
org.codehaus.janino.Parser.ParseException
org.codehaus.janino.Scanner.ScanException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

attachNCB

public void attachNCB()
Attaches the NCB instance to the CM_Interepreter_Mk.


attachSynthesisEngine

public void attachSynthesisEngine(SEManager thisSE)
Attaches the SynthesisEngine intance to the CM_Interepreter_Mk.

Parameters:
thisSE -

executeNext

public void executeNext()
This method singals the Microkernel to continue and execute the next command.