Examples of postfire()


Examples of ptolemy.actor.Actor.postfire()

                if (_debugging && _verbose) {
                    _debug("Postfire actor: " + ((Nameable) actor).getName()
                            + " at time " + getModelTime());
                }

                _postfireReturns = actor.postfire() && _postfireReturns;
            }
        }
    }

    /** Mark the current state as the known good state. Call the
View Full Code Here

Examples of ptolemy.actor.Actor.postfire()

        Director executiveDirector = container.getExecutiveDirector();
        Iterator refinements = _enabledRefinements.iterator();

        while (refinements.hasNext()) {
            Actor refinement = (Actor) refinements.next();
            postfireReturns = postfireReturns && refinement.postfire();

            // take out event outputs generated in ref.postfire()
            Iterator outports = refinement.outputPortList().iterator();

            while (outports.hasNext()) {
View Full Code Here

Examples of ptolemy.actor.Actor.postfire()

                    if (_debugging) {
                        _debug("Fire actor " + ((Nameable) actor).getName());
                    }

                    actor.fire();
                    actor.postfire();
                }
            }
        } else {
            // if this director is at the top level, wait for async push/pull
            // requests, otherwise just return
View Full Code Here

Examples of ptolemy.actor.Director.postfire()

        if (lastChosenTransition != null) {
            refinementDir = actor.getDirector();

            if (refinementDir instanceof MultirateFSMDirector) {
                refinementDir.postfire();
            } else if (refinementDir instanceof StaticSchedulingDirector) {
                // Get the refinement schedule so we can update the
                // external rates.
                refinementDir.invalidateSchedule();
                ((StaticSchedulingDirector) refinementDir).getScheduler()
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.