Class SDFTestDelay

    • Method Detail

      • fire

        public void fire()
                  throws IllegalActionException
        This fires an actor and may be invoked several times between invocations of prefire() and postfire(). It may produce output data. Typically, the fire() method performs the computation associated with an actor.
        Specified by:
        fire in interface Executable
        Overrides:
        fire in class AtomicActor<TypedIOPort>
        Throws:
        IllegalActionException - If firing is not permitted.
      • postfire

        public boolean postfire()
                         throws IllegalActionException
        This method should be invoked once per iteration, after the last invocation of fire() in that iteration. It may produce output data. It returns true if the execution can proceed into the next iteration. This method typically wraps up an iteration, which may involve updating local state. In an opaque, non-atomic entity, it may also transfer output data.
        Specified by:
        postfire in interface Executable
        Overrides:
        postfire in class AtomicActor<TypedIOPort>
        Returns:
        True if the execution can continue.
        Throws:
        IllegalActionException - If postfiring is not permitted.
      • prefire

        public boolean prefire()
                        throws IllegalActionException
        This method should be invoked once per iteration, before the first invocation of fire() in that iteration. It returns true if the iteration can proceed (the fire() method can be invoked). Thus this method will typically check preconditions for an iteration, if there are any. In an opaque, non-atomic entity, it may move data into an inner subsystem.
        Specified by:
        prefire in interface Executable
        Overrides:
        prefire in class AtomicActor<TypedIOPort>
        Returns:
        True if the iteration can proceed.
        Throws:
        IllegalActionException - If prefiring is not permitted.