505506507508509510511512513514515
// list of disabled actors. _disableActor(actorToFire); break; } if (!actorToFire.prefire()) { break; } actorToFire.fire();
403404405406407408409410411412413
_debug("Prefire event generator: " + ((Nameable) actor).getName() + " at time " + getModelTime()); } if (!actor.prefire()) { _setExecutionPhase(CTExecutionPhase.UNKNOWN_PHASE); throw new IllegalActionException( actor, "Actor is not ready to fire. In the CT domain, " + "all event generators should be ready to fire"
694695696697698699700701702703704
if (_debugging && _verbose) { _debug("Prefire output actor: " + ((Nameable) actor).getName() + " at time " + getModelTime()); } if (!actor.prefire()) { throw new IllegalActionException( actor, "Actor is not ready to fire. In the CT domain, " + "all continuous actors should be ready to fire " + "at all times.\n"
16591660166116621663166416651666166716681669
if (_debugging && _verbose) { _debug("Prefire actor: " + ((Nameable) actor).getName() + " at time " + getModelTime()); } if (actor.prefire()) { if (_debugging && _verbose) { _debug("Fire actor: " + ((Nameable) actor).getName() + " at time " + getModelTime()); }
609610611612613614615616617618619
if (_debugging && _verbose) { _debug("Prefire dynamic actor: " + ((Nameable) actor).getName()); } boolean ready = actor.prefire(); if (actor instanceof CTCompositeActor) { ready = ready && ((CTCompositeActor) actor) .prefireDynamicActors();
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);