de.cau.cs.kieler.esterel.cec.sim
Class WorkflowGenerator

java.lang.Object
  extended by de.cau.cs.kieler.esterel.cec.sim.WorkflowGenerator

public class WorkflowGenerator
extends Object

Generate interface code (A_data.c) for an Esterel module A.strl.

Rating red

Constructor Summary
WorkflowGenerator()
          The constructor sets the location in the KIELER workspace to save the sc files if you just generate sc code without simulation.
 
Method Summary
 String getFileName()
          Returns the name of the file.
 EObject getModel()
          Returns the model.
 URI getURI()
          Returns the uri.
 void invokeWorkflow(String path)
          Invocation of the workflow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowGenerator

public WorkflowGenerator()
The constructor sets the location in the KIELER workspace to save the sc files if you just generate sc code without simulation. It also sets the variables for the EMF reader.

Method Detail

invokeWorkflow

public void invokeWorkflow(String path)
Invocation of the workflow. Prepares the environment for generating code.

Parameters:
path - the path where the generated files should be written

getModel

public EObject getModel()
Returns the model.

Returns:
model

getURI

public URI getURI()
Returns the uri.

Returns:
uri

getFileName

public String getFileName()
Returns the name of the file.

Returns:
filename