Package ptolemy.actor

Examples of ptolemy.actor.Director.fireAt()


                }

                // If there is one transition enabled, the HSFSMDirector requests
                // to be fired again at the same time to see whether the next
                // state has some outgoing transition enabled.
                executiveDirector.fireAt(container, getModelTime());
            }

            // If this iteration will not generate more events, (the
            // current phase of execution is neithter generating-event nor
            // iterating-purely-discrete-actors), or the executive director
View Full Code Here


        _mutationVersion = -1;

        if (!_isTopLevel()) {
            TypedCompositeActor container = (TypedCompositeActor) getContainer();
            Director exe = container.getExecutiveDirector();
            exe.fireAt(container, getModelTime());
        }
    }

    /** If this is not a top-level director, request a refiring at the current
     *  model time. Otherwise, behave exactly as a CTMultiSolverDirector.
View Full Code Here

    private void _requestRefireAt(Time time) throws IllegalActionException {
        TypedCompositeActor container = (TypedCompositeActor) getContainer();
        Director outsideDirector = container.getExecutiveDirector();

        if (outsideDirector != null) {
            outsideDirector.fireAt(container, time);
        }
    }

    /** Most of the constructor initialization is relegated to this method.
     *  Initialization process includes :
View Full Code Here

                if (RealTimeComposite.this._debugging) {
                    RealTimeComposite.this
                            ._debug("---- Actor requests firing at time "
                                    + time + ": " + actor.getFullName());
                }
                director.fireAt(RealTimeComposite.this, time);
            }
            if (actor != RealTimeComposite.this) {
                // The fireAt() request is coming from the inside, so
                // when the firing occurs, we want to post an input
                // frame (even if there are no input events) for
View Full Code Here

                                    + ". Model time is "
                                    + environmentTime
                                    + ", and real time is "
                                    + time);
                }
                director.fireAt(RealTimeComposite.this, time);
            }
        }

        /** Return the current time of the enclosing actor if the delay
         *  is zero. Otherwise, get the local notion of 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.