Package ptolemy.cg.lib
Class Profile.ProfileActor
- java.lang.Object
-
- ptolemy.cg.lib.Profile.ProfileActor
-
- Enclosing class:
- Profile
public static class Profile.ProfileActor extends java.lang.Object
A class for actors in a graph information.
-
-
Constructor Summary
Constructors Constructor Description ProfileActor(java.lang.String name, boolean original)
Create a Profile Actor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Return the name of this ProfileActor.Profile
getProfile()
Get the profile.boolean
isOriginal()
Return if an actor is an original ptolemy actor or not.
-
-
-
Constructor Detail
-
ProfileActor
public ProfileActor(java.lang.String name, boolean original) throws IllegalActionException
Create a Profile Actor.- Parameters:
name
- The name of the actor.original
- True if this actor is original?- Throws:
IllegalActionException
- Not thrown in this base clasee.
-
-
Method Detail
-
isOriginal
public boolean isOriginal()
Return if an actor is an original ptolemy actor or not.- Returns:
- true is the actor is an original ptolemy actor like Ramp, false if the actor is generated from some composite actor, thus it has profile
-
getName
public java.lang.String getName()
Return the name of this ProfileActor.- Returns:
- the name of this ProfileActor
-
getProfile
public Profile getProfile() throws IllegalActionException
Get the profile.- Returns:
- the profile.
- Throws:
IllegalActionException
- If there is a problem loading the class from the $HOME/cg directory.
-
-