Class TestProcessActor

    • Constructor Detail

      • TestProcessActor

        public TestProcessActor​(CompositeActor container,
                                java.lang.String name)
                         throws IllegalActionException,
                                NameDuplicationException
        Create a new actor in the specified container with the specified name. The name must be unique within the container or an exception is thrown. The container argument must not be null, or a NullPointerException will be thrown.
        Parameters:
        container - The container.
        name - The name of this actor within the container.
        Throws:
        IllegalActionException - If the entity cannot be contained by the proposed container (see the setContainer() method).
        NameDuplicationException - If the name coincides with an entity already in the container.
    • Method Detail

      • postfire

        public boolean postfire()
        Record the invocation, then return true if fire was never called. Else return false.
        Specified by:
        postfire in interface Executable
        Overrides:
        postfire in class TestActor
        Returns:
        True if execution can continue into the next iteration.