Package ptolemy.actor.sched

Examples of ptolemy.actor.sched.FixedPointDirector.fireAt()


        _phase = 0;
        _readyToFire = true;

        // Schedule the first firing.
        _nextOutputTime = _cycleStartTime.add(_offsets[0]);
        director.fireAt(this, _nextOutputTime);
    }

    /** Update the state of the actor and schedule the next firing,
     *  if the director is in the discrete phase.
     *  @exception IllegalActionException If the director throws it when
View Full Code Here


                    + " must be less than the " + "period, which is "
                    + periodValue);
        }

        _nextOutputTime = _cycleStartTime.add(_offsets[_phase]);
        director.fireAt(this, _nextOutputTime);
        return true;
    }

    /** Return true if this actor is scheduled to fire at the current time.
     *  @return True if this actor is scheduled to fire at the current time.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.