ptolemy.copernicus.java
Class Main

java.lang.Object
  extended by ptolemy.copernicus.kernel.KernelMain
      extended by ptolemy.copernicus.java.Main
Direct Known Subclasses:
Main

public class Main
extends KernelMain

Read in a MoML model and generate Java classes for that model.

Since:
Ptolemy II 2.0
Version:
$Id: Main.java,v 1.182 2006/10/24 23:50:33 cxh Exp $
Author:
Stephen Neuendorffer, Christopher Hylands
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.copernicus.kernel.KernelMain
KernelMain._IgnoreAllApplicationClasses
 
Field Summary
 
Fields inherited from class ptolemy.copernicus.kernel.KernelMain
_momlClassName, _toplevel
 
Constructor Summary
Main()
           
 
Method Summary
protected  java.lang.String[] _parseArgs(GeneratorAttribute attribute)
          Parse any code generator specific arguments.
static void addStandardTransforms(CompositeActor toplevel)
          Add to the scene a standard set of transformations that are useful for optimizing efficiency.
 void addTransforms()
          Add transforms to the Scene.
 
Methods inherited from class ptolemy.copernicus.kernel.KernelMain
addStandardOptimizations, addTransform, addTransform, compile, generateCode, initialize, toplevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

addStandardTransforms

public static void addStandardTransforms(CompositeActor toplevel)
Add to the scene a standard set of transformations that are useful for optimizing efficiency.

Parameters:
toplevel - The composite actor we are generating code for.

addTransforms

public void addTransforms()
Add transforms to the Scene.

Specified by:
addTransforms in class KernelMain

_parseArgs

protected java.lang.String[] _parseArgs(GeneratorAttribute attribute)
                                 throws java.lang.Exception
Parse any code generator specific arguments.

Overrides:
_parseArgs in class KernelMain
Throws:
java.lang.Exception