151152153154155156157158159160161
Iterator actors = schedule.get(CTSchedule.STATE_TRANSITION_ACTORS) .actorIterator(); while (actors.hasNext()) { Actor next = (Actor) actors.next(); if (!next.prefire()) { throw new IllegalActionException( next, "Expected prefire() to return true!\n" + "Perhaps a continuous input is being driven by a " + "discrete output?");
162163164165166167168169170171172
if (_debugging) { _debug("Process async pulled actor " + ((Nameable) pulledActor).getName()); } if (pulledActor.prefire()) { if (_debugging) { _debug("Async pulled actor ready to fire " + ((Nameable) pulledActor).getName()); }
184185186187188189190191192193194
if (_actorsToFire.size() > 0) { while (_actorsToFire.size() > 0) { Actor actor = (Actor) _actorsToFire.removeFirst(); if (actor.prefire()) { if (_debugging) { _debug("Fire actor " + ((Nameable) actor).getName()); } actor.fire();
634635636637638639640641642643644
while (providers.hasNext()) { Actor provider = (Actor) providers.next(); if (_isPullThrough(provider)) { if (provider.prefire()) { if (!_actorsToFire.contains(provider)) { _actorsToFire.add(provider); } } else { _requestSyncPull(provider);