Class GiottoCodeGenerator

  • All Implemented Interfaces:
    java.lang.Cloneable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable
    Direct Known Subclasses:
    GiottoCEmachineFrameworkGenerator

    public class GiottoCodeGenerator
    extends Attribute
    This attribute is a visible attribute that when configured (by double clicking on it or by invoking Configure in the context menu) it generates Giotto code and displays it a text editor. It is up to the user to save the Giotto code in an appropriate file, if necessary.

    The Giotto Code Generator has been changed from the earlier generator implemented by Haiyang and Steve in the following respect :-

    Any and all unconnected ports are ignored. This includes :

    1. Removal of its mention in the output drivers
    2. Removal of its mention in task (...) output (...)
    3. Removal of driver code for tasks without inputs
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Edward A. Lee, Steve Neuendorffer, Haiyang Zheng, Christopher Brooks
    Pt.AcceptedRating:
    Red (johnr)
    Pt.ProposedRating:
    Red (eal)