Package ptolemy.actor

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


        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

                    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

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.