Package ptolemy.actor

Interface Actor

    • Method Detail

      • getDirector

        Director getDirector()
        Return the local director, if there is one, otherwise the executive director, if there is one, otherwise null.
        Returns:
        The director.
      • getExecutiveDirector

        Director getExecutiveDirector()
        Return the executive director, if there is one, otherwise return null.
        Returns:
        The executive director.
      • getManager

        Manager getManager()
        Return the Manager, if there is one. Otherwise, return null.
        Returns:
        The Manager.
      • inputPortList

        java.util.List inputPortList()
        Return a list of the input ports of this actor. Note that implementations should return ports directly contained by this actor, whether they are transparent or not.
        Returns:
        A list of input IOPort objects.
      • newReceiver

        Receiver newReceiver()
                      throws IllegalActionException
        Return a new receiver of a type compatible with the executive director. This is the receiver that should be used by ports of this actor.
        Returns:
        A new object implementing the Receiver interface.
        Throws:
        IllegalActionException - If there is no director.
      • outputPortList

        java.util.List outputPortList()
        Return a list of the output ports of this actor. Note that implementations should return ports directly contained by this actor, whether they are transparent or not.
        Returns:
        A list of output IOPort objects.