State Map Builder
Properties
Functions
Creates a pop transition that will return to orginal state that was pushed after executing the action.
Creates a pop transition that will pop the last statemap and then change to the targetState.
Creates an automatic pop transition with will apply when currentState is startState and the guard expression is true.
Creates a pop transition that will apply when currentState is startState and guard is true. The transition will change to targetMap/targetState
Creates a pop transition that will apply when currentState is startState. The transition will change to targetMap/targetState
Create an automatic pop transition when currentState is startState and when guard is true. The transition will target targetMap and targetState
Creates an automatic push transition when current state is startState for a targetMap and targetState.
Creates an automatic push transition for startState. When the currentState is startState and guard is true the targetMap and targetState will become current after executing the optional action
This function defines an action to be invoked when no transitions are found for given event.
This function defines an action to be invoked when no transitions are found matching the given state and on.
This function defines an action to be invoked when no transitions match the event. The currentState will be change to second parameter of the Pair.
This function defines an action to be invoked when no action is found matching the current state and event. This will be an internal transition and will not cause a change in state or invoke entry or exit functions.
This function defines an action to be invoked when no entry action is defined for the current state.
This function defines an action to be invoked when no exit action is defined for the current state.
Creates a pop transition that applies to the startState on a given event. This will result in a new push transition
Creates a pop transition that applies to the startState on a given event. This will result in a new push transition if the guard expression is true
Creates a push transition for a startState and triggered by event. The transition will change to targetMap and targetState.
Creates a push transition for a startState and triggered by event and guard expression being true
. The transition will change to targetMap and targetState.
This function defines a transition that doesn't change the state of the state machine when the currentState is startState and the on is received and after the action was performed. No entry or exit actions performed.
This function defines a transition that will be triggered when the currentState is the same as the startState and on is received. The FSM currentState will change to the targetState after the action was executed. Entry and Exit actions will also be performed.
This function defines a transition that doesn't change the state also know as an internal transition. The transition will only occur if the guard expression is met.
This function defines a transition from the currentState equal to startState to the targetState when event is received and the guard expression is met. The action is executed after any exit action and before entry actions.