Interface DDI

  • All Superinterfaces:
    Executable, Initializable
    All Known Implementing Classes:
    AbstractDDI, CSP, Dataflow, DataflowWithRates, DDF, SDF

    public interface DDI
    extends Executable
    An interface for domain dependent interpretation. Each instance of CalInterpreter is associated with its own DDI, which performs tasks needed to interpret the actor in a specific domain.

    Note: this interface is likely to grow larger as more domains are implemented.

    Since:
    Ptolemy II 4.0
    Version:
    $Id$
    Author:
    Christopher Chang
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Detail

      • isLegalActor

        boolean isLegalActor()
        Perform static checking on the actor, ensuring its validity in a given domain.
        Returns:
        True, if the actor is legal.
      • setupActor

        void setupActor()
        Perform any domain dependent setup. This can include hanging various attributes off of the actor, for example, the rate of the input and output ports.
      • getName

        java.lang.String getName()
        Get the name of the domain that this DDI implements.
        Returns:
        The name of the domain that this DDI implements.