Skip navigation links
A C D E F G H I L M N P R S T _ 

A

addStateChangeListener(PropertyChangeListener) - Method in class statemap.FSMContext
Adds a PropertyChangeListener to the listener list.
addStateChangeListener(PropertyChangeListener) - Method in class statemap.FSMContext7
Adds a PropertyChangeListener to the listener list.

C

clearState() - Method in class statemap.FSMContext
Places the current state into the previous state sets the current state to null.
clearState() - Method in class statemap.FSMContext7
Places the current state into the previous state sets the current state to null.

D

DEFAULT_NAME - Static variable in class statemap.FSMContext7
Default state and transition name is "Default".
DEFAULT_TRANSITION_ID - Static variable in class statemap.FSMContext7
The default transition identifier is zero.
defaultTransition() - Method in class statemap.FSMContext7
The default Default state/Default transition definition is to throw a TransitionUndefinedException which contains the current state and current transition in the detailed message.

E

emptyStateStack() - Method in class statemap.FSMContext
Empties the state stack.
emptyStateStack() - Method in class statemap.FSMContext7
Empties the state stack.
enterStartState() - Method in class statemap.FSMContext
Starts the finite state machine running by executing the initial state's entry actions.
enterStartState() - Method in class statemap.FSMContext7
Executes the current state entry action.
enterState() - Method in class statemap.FSMContext7
Executes the current state entry action, if defined.
enterState() - Method in class statemap.State7
Returns the state entry action.
ENTRY_NAME - Static variable in class statemap.FSMContext7
The state entry method name is: "<map>_<state>__Entry_".
executeAction(MethodHandle) - Method in class statemap.FSMContext7
Executes the state entry or exit action.
EXIT_NAME - Static variable in class statemap.FSMContext7
The state exit method name is: "<map>_<state>__Exit_".
exitState() - Method in class statemap.FSMContext7
Executes the current state exit action, if defined.
exitState() - Method in class statemap.State7
Returns the state exit action.

F

FSMContext - Class in statemap
Base class for all SMC-generated application context classes.
FSMContext(State) - Constructor for class statemap.FSMContext
Creates a finite state machine context for the given initial state.
FSMContext7 - Class in statemap
Base class for all SMC-generated application context classes.
FSMContext7(State7) - Constructor for class statemap.FSMContext7
Creates a finite state machine context for the given initial state.

G

getDebugFlag() - Method in class statemap.FSMContext
When debug is set to true, the state machine will print messages to the console.
getDebugFlag() - Method in class statemap.FSMContext7
When debug is set to true, the state machine will print messages to the console.
getDebugStream() - Method in class statemap.FSMContext
Writes the debug output to this stream.
getDebugStream() - Method in class statemap.FSMContext7
Writes the debug output to this stream.
getId() - Method in class statemap.State
Returns the unique integer identifier.
getId() - Method in class statemap.State7
Returns the unique integer identifier.
getName() - Method in class statemap.FSMContext
Returns the FSM name.
getName() - Method in class statemap.FSMContext7
Returns the FSM name.
getName() - Method in class statemap.State
Returns the state name.
getName() - Method in class statemap.State7
Returns the state name.
getPreviousState() - Method in class statemap.FSMContext
If this FSM is in transition, then returns the previous state which the last transition left.
getPreviousState() - Method in class statemap.FSMContext7
If this FSM is in transition, then returns the previous state which the last transition left.
getState() - Method in class statemap.FSMContext7
Returns the current state.
getTransition() - Method in class statemap.FSMContext
If this FSM is in transition, then returns the transition name.
getTransition() - Method in class statemap.FSMContext7
If this FSM is in transition, then returns the transition name.
getTransitions() - Method in class statemap.State7
Returns the state transition names.

H

handle() - Method in class statemap.TransitionHandle
Returns the transition method handle.

I

isDefault() - Method in class statemap.TransitionHandle
Returns true if this is a default transition method and false otherwise.
isInTransition() - Method in class statemap.FSMContext
Returns true if this FSM is in a transition and false otherwise.
isInTransition() - Method in class statemap.FSMContext7
Returns true if this FSM is in a transition and false otherwise.

L

lookupMethod(MethodHandles.Lookup, Class<?>, String, MethodType) - Static method in class statemap.FSMContext7
Returns the virtual method handle found by lookup using the given parameters.
lookupTransition(MethodHandles.Lookup, Class<?>, String, String, String, MethodType) - Static method in class statemap.FSMContext7
Returns the transition method handle for the given map, state, transition name, and transition method signature.

M

mDebugFlag - Variable in class statemap.FSMContext7
When this flag is set to true, this class will print out debug messages.
mDebugStream - Variable in class statemap.FSMContext7
Write debug output to this stream.
mName - Variable in class statemap.FSMContext7
The FSM name.
mPreviousState - Variable in class statemap.FSMContext7
Stores which state a transition left.
mState - Variable in class statemap.FSMContext7
The current state.
mStateStack - Variable in class statemap.FSMContext7
This stack is used to store the current state when a push transition is taken.
mTransition - Variable in class statemap.FSMContext7
The current transition name.

N

NO_ARGS_TYPE - Static variable in class statemap.FSMContext7
The method signature for state entry, exit actions is: void &lt;method name&gt;().

P

popState() - Method in class statemap.FSMContext
Sets the previous state to the current state and pops the top state off the stack and places it into the current state.
popState() - Method in class statemap.FSMContext7
Sets the previous state to the current state and pops the top state off the stack and places it into the current state.
pushState(State) - Method in class statemap.FSMContext
Pushes the current state on top of the state stack and sets the current state to state.
pushState(State7) - Method in class statemap.FSMContext7
Pushes the current state on top of the state stack and sets the current state to state.

R

removeStateChangeListener(PropertyChangeListener) - Method in class statemap.FSMContext
Removes a PropertyChangeListener for the state change property.
removeStateChangeListener(PropertyChangeListener) - Method in class statemap.FSMContext7
Removes a PropertyChangeListener for the state change property.

S

setDebugFlag(boolean) - Method in class statemap.FSMContext
Turns debug output on if flag is true and off if flag is false.
setDebugFlag(boolean) - Method in class statemap.FSMContext7
Turns debug output on if flag is true and off if flag is false.
setDebugStream(PrintStream) - Method in class statemap.FSMContext
Sets the debug output stream to the given value.
setDebugStream(PrintStream) - Method in class statemap.FSMContext7
Sets the debug output stream to the given value.
setName(String) - Method in class statemap.FSMContext
Sets the FSM name.
setName(String) - Method in class statemap.FSMContext7
Sets the FSM name.
setState(State) - Method in class statemap.FSMContext
Sets the current state to the given value.
setState(State7) - Method in class statemap.FSMContext7
Sets the current state to the given value.
State - Class in statemap
Base class for all SMC-generated context states.
State(String, int) - Constructor for class statemap.State
Creates a state instance with the given name and unique integer identifier.
State7 - Class in statemap
A single state class is used for generated Java code which implements the FSM as a method handle table.
State7(String, int, MethodHandle, MethodHandle, TransitionHandle[], String[]) - Constructor for class statemap.State7
Creates a state instance with the given name and unique integer identifier.
STATE_NAME_FORMAT - Static variable in class statemap.FSMContext7
The state entry method name is: "<map>_<state>".
STATE_PROPERTY - Static variable in class statemap.FSMContext7
The state change property name.
statemap - package statemap
This package contains the run-time classes used by SMC-generated Java code.
stateName() - Method in class statemap.FSMContext7
Returns the name of the current state or previous state if in transition.
StateUndefinedException - Exception in statemap
A StateUndefinedException is thrown by an SMC-generated state machine whenever a transition is taken and there is no state currently set.
StateUndefinedException() - Constructor for exception statemap.StateUndefinedException
Default constructor.
StateUndefinedException(String) - Constructor for exception statemap.StateUndefinedException
Constructs a StateUndefinedException with a detail message.
SYSTEM_DEFAULT - Static variable in class statemap.FSMContext7
The ultimate system default transition method is "defaultTransition".

T

toString() - Method in class statemap.State
Returns the state name.
toString() - Method in class statemap.State7
Returns the state name.
transition(int) - Method in class statemap.State7
Returns the transition method handle for the given unique transition identifier.
TRANSITION_DEFINED_DEFAULT - Static variable in class statemap.State
Two (2) means the transition is defined in the default state.
TRANSITION_DEFINED_DEFAULT - Static variable in class statemap.State7
Two (2) means the transition is defined in the default state.
TRANSITION_DEFINED_LOCALLY - Static variable in class statemap.State
One (1) means the transition is defined in the current state.
TRANSITION_DEFINED_LOCALLY - Static variable in class statemap.State7
One (1) means the transition is defined in the current state.
TRANSITION_NAME_FORMAT - Static variable in class statemap.FSMContext7
The state exit method name is: "<map>_<state>_<transition>".
TRANSITION_UNDEFINED - Static variable in class statemap.State
Zero (0) means the transition is undefined.
TRANSITION_UNDEFINED - Static variable in class statemap.State7
Zero (0) means the transition is undefined.
TransitionHandle - Class in statemap
Encapsulates a transition method handle, tracking whether the transition is a Default or not.
TransitionUndefinedException - Exception in statemap
A TransitionUndefinedException is thrown by an SMC-generated state machine whenever a transition is taken which: Is not explicitly defined in the current state and Is not explicitly defined in the current FSM's default state and There is no Default transition in the current state.
TransitionUndefinedException() - Constructor for exception statemap.TransitionUndefinedException
Constructs a TransitionUndefinedException with no detail message.
TransitionUndefinedException(String) - Constructor for exception statemap.TransitionUndefinedException
Constructs a TransitionUndefinedException with a detail message.

_

_debugFlag - Variable in class statemap.FSMContext
When this flag is set to true, this class will print out debug messages.
_debugStream - Variable in class statemap.FSMContext
Write debug output to this stream.
_name - Variable in class statemap.FSMContext
The FSM name.
_previousState - Variable in class statemap.FSMContext
Stores which state a transition left.
_state - Variable in class statemap.FSMContext
The current state.
_stateStack - Variable in class statemap.FSMContext
This stack is used to store the current state when a push transition is taken.
_transition - Variable in class statemap.FSMContext
The current transition name.
A C D E F G H I L M N P R S T _ 
Skip navigation links

Copyright © 2020. All rights reserved.