Examples of currentState()


Examples of ptolemy.domains.fsm.kernel.FSMActor.currentState()

     */
    public boolean postfire() throws IllegalActionException {
        boolean postfireReturns = true;

        FSMActor ctrl = getController();
        State currentState = ctrl.currentState();

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

View Full Code Here

Examples of ptolemy.domains.fsm.kernel.FSMActor.currentState()

     *  state, or the prefire() method of refinements throw it, or the super
     class throws it.
     */
    public boolean prefire() throws IllegalActionException {
        FSMActor ctrl = getController();
        State currentState = ctrl.currentState();

        if (_debugging) {
            _debug(getName(), " find FSMActor " + ctrl.getName()
                    + " and the current state is " + currentState.getName());
        }
View Full Code Here

Examples of ptolemy.domains.fsm.kernel.FSMActor.currentState()

                        }
                    }
                }
            } else {
                // Optimistic approximation
                Actor[] actors = controller.currentState().getRefinement();
                // If the modal model has no refinements, the modal model is
                // basically an FSM actor. We use the function dependency of
                // the controller instead.
                if ((actors != null) && (actors.length > 0)) {
                    for (int i = 0; i < actors.length; ++i) {
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.