cz.cuni.amis.fsm
Class FSMOriginalState
java.lang.Object
cz.cuni.amis.fsm.FSMOriginalState
- All Implemented Interfaces:
- IFSMState
public class FSMOriginalState
- extends Object
- implements IFSMState
Marks that the transition leads back to the state from where it originates. It is used
when you need to trigger specific IFSMTransition without leaving / entering the same
state again and again.
Or you may use it when you need the state to silently consume specific symbols.
- Author:
- Jimmy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSMOriginalState
public FSMOriginalState()
init
public void init(Object context)
- Specified by:
init in interface IFSMState
restart
public void restart(Object context)
- Specified by:
restart in interface IFSMState
stateEntering
public void stateEntering(Object context,
IFSMState fromState,
Object symbol)
- Specified by:
stateEntering in interface IFSMState
stateLeaving
public void stateLeaving(Object context,
IFSMState toState,
Object symbol)
- Specified by:
stateLeaving in interface IFSMState
stateSymbol
public void stateSymbol(Object context,
Object symbol)
- Specified by:
stateSymbol in interface IFSMState
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.