Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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