Class Profile


  • public abstract class Profile
    extends java.lang.Object
    Meta information about modularly generated code such as port information. In this way we have a way to interface with the generated code. The actual profile instances derive from this class.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Bert Rodiers
    Pt.AcceptedRating:
    Red (rodiers)
    Pt.ProposedRating:
    Red (rodiers)
    • Constructor Detail

      • Profile

        public Profile()
    • Method Detail

      • ports

        public abstract java.util.List<Profile.Port> ports()
        Return the port information.
        Returns:
        A list with for each port the information necessary to interface the generated code.
      • firings

        public abstract java.util.List<Profile.FiringFunction> firings()
                                                                throws IllegalActionException
        Return the list of firings in the graph.
        Returns:
        A list with for each actor the information necessary to interface the generated code.
        Throws:
        IllegalActionException - If there is a problem accessing components in the model.