Class PthalesWrapperCompositeActor

    • Constructor Detail

      • PthalesWrapperCompositeActor

        public PthalesWrapperCompositeActor()
        Construct a PthalesWrapperCompositeActor in the default workspace with no container and an empty string as its name. Add the actor to the workspace directory. You should set the local director or executive director before attempting to send data to the actor or to execute it. Increment the version number of the workspace.
      • PthalesWrapperCompositeActor

        public PthalesWrapperCompositeActor​(Workspace workspace)
        Construct a PthalesWrapperCompositeActor in the specified workspace with no container and an empty string as a name. You can then change the name with setName(). If the workspace argument is null, then use the default workspace. You should set the local director or executive director before attempting to send data to the actor or to execute it. Add the actor to the workspace directory. Increment the version number of the workspace.
        Parameters:
        workspace - The workspace that will list the actor.
      • PthalesWrapperCompositeActor

        public PthalesWrapperCompositeActor​(CompositeEntity container,
                                            java.lang.String name)
                                     throws IllegalActionException,
                                            NameDuplicationException
        Construct a PthalesWrapperCompositeActor with a name and a container. The container argument must not be null, or a NullPointerException will be thrown. This actor will use the workspace of the container for synchronization and version counts. If the name argument is null, then the name is set to the empty string. Increment the version of the workspace. This actor will have no local director initially, and its executive director will be simply the director of the container.
        Parameters:
        container - The container.
        name - The name of this actor.
        Throws:
        IllegalActionException - If the container is incompatible with this actor.
        NameDuplicationException - If the name coincides with an actor already in the container.
    • Method Detail

      • newInsideReceiver

        public Receiver newInsideReceiver()
                                   throws IllegalActionException
        Return a new receiver of flexible buffer size to interface with PN actors. Derived classes may further specialize this to return a receiver specialized to the particular actor. This method is not synchronized on the workspace, so the caller should be.
        Overrides:
        newInsideReceiver in class CompositeActor
        Returns:
        A new object implementing the Receiver interface.
        Throws:
        IllegalActionException - If there is no local director.