Class PtidesDirector

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

    public class PtidesDirector
    extends DEDirector
    Code generator adapter associated with the PtidesDirector class. This adapter is highly experimental and extends the DE Director adapter. This class is also associated with a code generator.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    William Lucas based on PtidesDirector.java by Patricia Derler, Edward A. Lee, Slobodan Matic, Mike Zimmer, Jia Zou
    Pt.AcceptedRating:
    red (wlc)
    Pt.ProposedRating:
    red (wlc)
    • Constructor Detail

      • PtidesDirector

        public PtidesDirector​(PtidesDirector ptidesDirector)
        Construct the code generator adapter associated with the given PtidesDirector.
        Parameters:
        ptidesDirector - The associated ptolemy.domains.ptides.kernel.PtidesDirector
    • Method Detail

      • generateConstructorCode

        public java.lang.String generateConstructorCode()
                                                 throws IllegalActionException
        Generate the constructor code for the specified director In this class we initialize the director with its internal parameters and fields. Also we fill the hashmaps that the director needs : superdenseDependencyPair, _inputEventQueue, _outputEventDeadlines, _ptidesOutputPortEventQueue ...
        Overrides:
        generateConstructorCode in class DEDirector
        Returns:
        The generated constructor code
        Throws:
        IllegalActionException - Not thrown in this base class.