Package ptolemy.cg.lib
Class Profile
- java.lang.Object
-
- ptolemy.cg.lib.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Profile.Connection
A named connection between an actor and a junction.static class
Profile.FiringFunction
The Firing Function.static class
Profile.FiringFunctionPort
A firing function port.static class
Profile.Junction
A profiled Junction.static class
Profile.Port
The port information to interface with modular code.static class
Profile.ProfileActor
A class for actors in a graph information.
-
Constructor Summary
Constructors Constructor Description Profile()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.util.List<Profile.FiringFunction>
firings()
Return the list of firings in the graph.abstract java.util.List<Profile.Port>
ports()
Return the port information.
-
-
-
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.
-
-