Class TDLCausalityInterface

  • All Implemented Interfaces:
    CausalityInterface

    public class TDLCausalityInterface
    extends CausalityInterfaceForComposites
    This class gives a specialized causality interface for TDL.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Patricia Derler, Contributor: Edward A. Lee
    Pt.AcceptedRating:
    Red (eal)
    Pt.ProposedRating:
    Yellow (eal)
    • Constructor Detail

      • TDLCausalityInterface

        public TDLCausalityInterface​(Actor actor,
                                     Dependency defaultDependency)
                              throws java.lang.IllegalArgumentException
        Construct a causality interface for the specified actor.
        Parameters:
        actor - The actor for which this is a causality interface. This is required to be an instance of CompositeEntity.
        defaultDependency - The default dependency of an output port on an input port.
        Throws:
        java.lang.IllegalArgumentException - If the actor parameter is not an instance of CompositeEntity.
    • Method Detail

      • getMinimumDelay

        public Dependency getMinimumDelay​(IOPort port)
                                   throws IllegalActionException
        Return the minimum delay for this port. The minimum delay is the minimum model time delay between this port or any equivalent port and a source actor.
        Parameters:
        port - Port for which the minimum delay should be computed.
        Returns:
        the minimum delay for the specified port.
        Throws:
        IllegalActionException - Thrown if minimum delay cannot be computed, because e.g. equivalent ports cannot be computed.
      • wrapup

        public void wrapup()
        Override the base class Clear local variables.