Class PtidesTopLevelDirector

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

    public class PtidesTopLevelDirector
    extends PtidesTopLevelDirector
    Code generator adapter associated with the PtidesTopLevelDirector class. This adapter generates Luminary specific code. This director starts a task for each actor. Each task has a specified name, stack size, priority and function code to execute. User can introduce annotations in an actor to specify these values. In particular, this adapter class looks for the "_stackSize" and "_priority" parameters and use their values to create the tasks. If these parameters are not specified, the code generator uses the default value 80 for stack size, and 0 for priority. Each task executes a given function which consists of the actor initialization, fire and wrapup code.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Jia Zou
    Pt.AcceptedRating:
    Pt.ProposedRating:
    Red (jiazou)
    • Constructor Detail

      • PtidesTopLevelDirector

        public PtidesTopLevelDirector​(PtidesDirector ptidesTopLevelDirector)
        Construct the code generator adapter associated with the given PtidesTopLevelDirector.
        Parameters:
        ptidesTopLevelDirector - The associated ptolemy.domains.ptides.kernel.PtidesTopLevelDirector