SMC
6_0_1
A C D E F G H I L M N P R S T V W _

A

accept(SmcVisitor) - Method in class net.sf.smc.model.SmcAction
Pass this action to the visitor for processing.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcElement
Accepts a new visitor which performs some action upon this abstract syntax tree element.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcFSM
Calls the visitor's visit method for this finite state machine element.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcGuard
Calls the visitor's visit method for this finite state machine element.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcMap
Calls the visitor's visit method for this finite state machine element.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcParameter
 
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcState
Calls the visitor's visit method for this finite state machine element.
accept(SmcVisitor) - Method in class net.sf.smc.model.SmcTransition
Calls the visitor's visit method for this finite state machine element.
addDeclare(String) - Method in class net.sf.smc.model.SmcFSM
Adds a forward declaration name.
addGuard(SmcGuard) - Method in class net.sf.smc.model.SmcTransition
Adds a guard to the list.
addImport(String) - Method in class net.sf.smc.model.SmcFSM
Adds an import to the list.
addInclude(String) - Method in class net.sf.smc.model.SmcFSM
Adds an include file name to the list.
addMap(SmcMap) - Method in class net.sf.smc.model.SmcFSM
Adds a state machine map to the list.
addState(SmcState) - Method in class net.sf.smc.model.SmcMap
Adds a state to the list.
addStateChangeListener(PropertyChangeListener) - Method in class statemap.FSMContext
Adds a PropertyChangeListener to the listener list.
addTransition(SmcTransition) - Method in class net.sf.smc.model.SmcState
Adds a transition to the list.
allNilEndStates(List<SmcGuard>) - Method in class net.sf.smc.generator.SmcCodeGenerator
Returns true if each of the transition guards uses the nil end state.

C

clearState() - Method in class statemap.FSMContext
Places the current state into the previous state sets the current state to null.
compareTo(SmcAction) - Method in class net.sf.smc.model.SmcAction
Returns an integer value <, = or > zero depending on whether this action is <, = or > action.
compareTo(SmcParameter) - Method in class net.sf.smc.model.SmcParameter
Returns an integer value <, equal to or > zero depending on whether this parameter is <, equal to or > param.
compareTo(SmcTransition) - Method in class net.sf.smc.model.SmcTransition
Returns an interger value <, equal to or > than zero if this transition is <, = or > than trans.
compareTo(String, List<SmcParameter>) - Method in class net.sf.smc.model.SmcTransition
Returns an interger value <, equal to or > than zero if this transition's name and parameters are <, = or > than name and parameters.

D

DEBUG_LEVEL_0 - Static variable in class net.sf.smc.generator.SmcCodeGenerator
Output states and transitions.
DEBUG_LEVEL_1 - Static variable in class net.sf.smc.generator.SmcCodeGenerator
Output states, transitions and all transition, entry and exit actions.
dump(PrintStream) - Method in class net.sf.smc.model.SmcFSM
Writes this state machine configuration to the given stream.

E

emptyStateStack() - Method in class statemap.FSMContext
Empties the state stack.
enterStartState() - Method in class statemap.FSMContext
Starts the finite state machine running by executing the initial state's entry actions.
equals(Object) - Method in class net.sf.smc.model.SmcParameter
Returns true if obj is a non-null parameter instance with the same name and type; false otherwise.
equals(Object) - Method in class net.sf.smc.model.SmcTransition
Returns true if obj is a non-null transition instance with the same name and parameters; false otherwise.
ERROR - Static variable in class net.sf.smc.parser.SmcMessage
An error-level message (1).
escape(String) - Static method in class net.sf.smc.generator.SmcCodeGenerator
Place a backslash escape character in front of backslashes and doublequotes.

F

findMap(String) - Method in class net.sf.smc.model.SmcFSM
Returns the named map.
findState(SmcState) - Method in class net.sf.smc.model.SmcMap
Returns true if the state is in the list and false otherwise.
findTransition(String, List<SmcParameter>) - Method in class net.sf.smc.model.SmcState
Returns the transition with the specified name and parameters.
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.

G

getAccessLevel() - Method in class net.sf.smc.model.SmcFSM
Returns the generated FSM class access level.
getActions() - Method in class net.sf.smc.model.SmcGuard
Returns the transition action list.
getAllStates() - Method in class net.sf.smc.model.SmcMap
Returns all states in this map including the default state.
getArguments() - Method in class net.sf.smc.model.SmcAction
Returns the action's argument list.
getClassName() - Method in class net.sf.smc.model.SmcState
Returns the state class name.
getCondition() - Method in class net.sf.smc.model.SmcGuard
Returns the guard condition.
getContext() - Method in class net.sf.smc.model.SmcFSM
Returns the context class name.
getDebugFlag() - Method in class statemap.FSMContext
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.
getDeclarations() - Method in class net.sf.smc.model.SmcFSM
Returns the forward declarations list.
getDeclareCount() - Method in class net.sf.smc.model.SmcFSM
Returns the number of forward declarations.
getDefaultState() - Method in class net.sf.smc.model.SmcMap
Returns the default state.
getEndState() - Method in class net.sf.smc.model.SmcGuard
Returns the transition end state name.
getEntryActions() - Method in class net.sf.smc.model.SmcState
Returns the entry action list.
getExitActions() - Method in class net.sf.smc.model.SmcState
Returns the exit action list.
getFSM() - Method in class net.sf.smc.model.SmcMap
Returns the owning finite state machine.
getFsmClassName() - Method in class net.sf.smc.model.SmcFSM
Returns the fsm class name.
getGuards() - Method in class net.sf.smc.model.SmcTransition
Returns the guard list.
getHeader() - Method in class net.sf.smc.model.SmcFSM
Returns the context class header file name.
getHeaderLine() - Method in class net.sf.smc.model.SmcFSM
Returns the current .sm header line being processed.
getId() - Method in class statemap.State
Returns the unique integer identifier.
getImportCount() - Method in class net.sf.smc.model.SmcFSM
Returns the number of imports.
getImports() - Method in class net.sf.smc.model.SmcFSM
Returns the imported package and/or class list.
getIncludes() - Method in class net.sf.smc.model.SmcFSM
Returns the included header file list.
getInstanceName() - Method in class net.sf.smc.model.SmcState
Returns the state instance name.
getLevel() - Method in class net.sf.smc.parser.SmcMessage
Returns the message level, either SmcMessage.WARNING or SmcMessage.ERROR.
getLineNumber() - Method in class net.sf.smc.model.SmcElement
Returns the element's position in the .sm file.
getLineNumber() - Method in class net.sf.smc.parser.SmcMessage
Returns the line number.
getMap() - Method in class net.sf.smc.model.SmcState
Returns the map to which this state belongs.
getMaps() - Method in class net.sf.smc.model.SmcFSM
Returns the map list.
getMessages() - Method in class net.sf.smc.parser.SmcParser
Returns the parser's warning and error messages list.
getMessages() - Method in class net.sf.smc.SmcSyntaxChecker
Returns a list of warning and error messages.
getName() - Method in class net.sf.smc.model.SmcElement
Returns the element's unique name.
getName() - Method in class net.sf.smc.model.SmcState
Returns the state name.
getName() - Method in class net.sf.smc.parser.SmcMessage
Returns the finite state machine's name.
getName() - Method in class statemap.FSMContext
Returns the FSM name.
getName() - Method in class statemap.State
Returns the state name.
getNextStateId() - Static method in class net.sf.smc.model.SmcMap
Returns the next unique state identifier.
getPackage() - Method in class net.sf.smc.model.SmcFSM
Returns the package/namespace name.
getParameters() - Method in class net.sf.smc.model.SmcTransition
Returns the transition parameters.
getPopArgs() - Method in class net.sf.smc.model.SmcGuard
Returns the pop transition arguments.
getPreviousState() - Method in class statemap.FSMContext
If this FSM is in transition, then returns the previous state which the last transition left.
getPushState() - Method in class net.sf.smc.model.SmcGuard
Returns the push state name.
getSource() - Method in class net.sf.smc.model.SmcFSM
Returns the raw %{, %} source code.
getSourceFileName() - Method in class net.sf.smc.model.SmcFSM
Returns the source file name.
getStartState() - Method in class net.sf.smc.model.SmcFSM
Returns the start state name.
getState() - Method in class net.sf.smc.model.SmcTransition
Returns the transitions owning state.
getStates() - Method in class net.sf.smc.model.SmcMap
Returns the map's states.
getText() - Method in class net.sf.smc.parser.SmcMessage
Returns the message text.
getTransition() - Method in class net.sf.smc.model.SmcGuard
Returns the transition to which this guard belongs.
getTransition() - Method in class statemap.FSMContext
If this FSM is in transition, then returns the transition name.
getTransitions() - Method in class net.sf.smc.model.SmcFSM
Returns the list of all known transitions for all maps.
getTransitions() - Method in class net.sf.smc.model.SmcMap
Returns all the transitions from all the states in this map.
getTransitions() - Method in class net.sf.smc.model.SmcState
Returns the state transitions.
getTransType() - Method in class net.sf.smc.model.SmcGuard
Returns the transition type.
getType() - Method in class net.sf.smc.model.SmcParameter
Returns the parameter type.
getUndefinedDefaultTransitions() - Method in class net.sf.smc.model.SmcMap
Returns the list of transitions that do not appear in the default state.
GRAPH_LEVEL_0 - Static variable in class net.sf.smc.generator.SmcCodeGenerator
Provide state and transition names only.
GRAPH_LEVEL_1 - Static variable in class net.sf.smc.generator.SmcCodeGenerator
Provide state and transition names plus transition guards and actions.
GRAPH_LEVEL_2 - Static variable in class net.sf.smc.generator.SmcCodeGenerator
Provides state names, entry and exit actions, transition name and arguments, guards, actions and their action parameters and pop transition arguments.

H

hasCtxtReference() - Method in class net.sf.smc.model.SmcGuard
Returns true if this guard references the ctxt variable and false otherwise.
hasCtxtReference() - Method in class net.sf.smc.model.SmcTransition
Returns true if this transition references the ctxt local variable and false otherwise.
hasDefaultState() - Method in class net.sf.smc.model.SmcMap
Returns true if this map has an explicitly defined default state and false otherwise.
hasEntryActions() - Method in class net.sf.smc.model.SmcFSM
 
hasEntryActions() - Method in class net.sf.smc.model.SmcMap
Returns true if at least one of the map's states has an entry action and false otherwise.
hasExitActions() - Method in class net.sf.smc.model.SmcFSM
Returns true if there is at least one state in the state machine which has an exit action; false otherwise.
hasExitActions() - Method in class net.sf.smc.model.SmcMap
Returns true if at least one of the map's states has an exit action and false otherwise.
hashCode() - Method in class net.sf.smc.model.SmcParameter
Returns the hash code based on the parameter name and type.
hasNonNilEndState() - Method in class net.sf.smc.model.SmcTransition
Returns true if this transition has a guard with a non-nil end state and false otherwise.

I

isEmptyStateStack() - Method in class net.sf.smc.model.SmcAction
Returns true if this action is the predefined EmptyStateStack() Returns false if this action is not the predefined EmptyStateStack()
isInTransition() - Method in class statemap.FSMContext
Returns true if this FSM is in a transition and false otherwise.
isKnownState(String) - Method in class net.sf.smc.model.SmcMap
Returns true if this map contains the nsamed state; false otherwise.
isLoopback(SmcElement.TransType, String) - Method in class net.sf.smc.generator.SmcCodeGenerator
Returns true if this transition is an internal loopback or a push transition and false otherwise.
isProperty() - Method in class net.sf.smc.model.SmcAction
Returns true if this action is a .Net property assignment and false if not.
isStatic() - Method in class net.sf.smc.model.SmcAction
Returns true if this action is a static member.
isValid() - Method in class net.sf.smc.SmcSyntaxChecker
Returns true if no errors were found and false if there are syntax errors.

L

LANGUAGE_COUNT - Static variable in class net.sf.smc.parser.SmcParser
SMC currently supports 16 different target languages.

M

main(String[]) - Static method in class net.sf.smc.Smc
The state machine compiler main method.
merge(List<SmcTransition>, List<SmcTransition>, Comparator<SmcTransition>) - Static method in class net.sf.smc.model.SmcElement
Returns an ordered transition list with no repeated entries by merging two transition lists together.

N

net.sf.smc - package net.sf.smc
Provides the Smc class which implements the state machine compiler application.
net.sf.smc.generator - package net.sf.smc.generator
Provides the classes for generating source code in a target from an SMC finite state machine model instance.
net.sf.smc.model - package net.sf.smc.model
Provides the classes modeling a finite state machine.
net.sf.smc.parser - package net.sf.smc.parser
Provides the classes for parsing an SMC text definition into a finite state machine model instance.
NIL_STATE - Static variable in class net.sf.smc.model.SmcElement
Inner loopback transitions use "nil" as their destination state.
NO_DEBUG_OUTPUT - Static variable in class net.sf.smc.generator.SmcCodeGenerator
No debug output.
NO_GRAPH_LEVEL - Static variable in class net.sf.smc.generator.SmcCodeGenerator
No graphing is done.

P

parse() - Method in class net.sf.smc.parser.SmcParser
Parses the named FSM in the given input stream and returns the finite state machine.
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.
pushState(State) - Method in class statemap.FSMContext
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.

S

scopeStateName(String, String) - Method in class net.sf.smc.generator.SmcCGenerator
Returns the scoped state name.
scopeStateName(String, String) - Method in class net.sf.smc.generator.SmcCodeGenerator
 
setAccessLevel(String) - Method in class net.sf.smc.model.SmcFSM
Sets the FSM class access level.
setActions(List<SmcAction>) - Method in class net.sf.smc.model.SmcGuard
Sets the transition actions.
setArguments(List<String>) - Method in class net.sf.smc.model.SmcAction
Sets the action's arguments.
setContext(String) - Method in class net.sf.smc.model.SmcFSM
Set sthe context class name.
setDebugFlag(boolean) - Method in class statemap.FSMContext
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.
setEndState(String) - Method in class net.sf.smc.model.SmcGuard
Sets the transition end state name.
setEntryActions(List<SmcAction>) - Method in class net.sf.smc.model.SmcState
Sets the state entry actions.
setExitActions(List<SmcAction>) - Method in class net.sf.smc.model.SmcState
Sets the state exit actions.
setFsmClassName(String) - Method in class net.sf.smc.model.SmcFSM
Set sthe fsm class name and source file name.
setHeader(String) - Method in class net.sf.smc.model.SmcFSM
Sets the context class header file name.
setHeaderLine(int) - Method in class net.sf.smc.model.SmcFSM
Set the .sm source file line being processed.
setName(String) - Method in class statemap.FSMContext
Sets the FSM name.
setPackage(String) - Method in class net.sf.smc.model.SmcFSM
Sets the package/namespace name.
setPopArgs(String) - Method in class net.sf.smc.model.SmcGuard
Set the pop transition arguments.
setProperty(boolean) - Method in class net.sf.smc.model.SmcAction
If flag is true, then this action is a .Net property assignment.
setPushState(String) - Method in class net.sf.smc.model.SmcGuard
Sets the push state name.
setSource(PrintStream) - Method in class net.sf.smc.generator.SmcCodeGenerator
Sets the source code output destination.
setSource(String) - Method in class net.sf.smc.model.SmcFSM
Sets the raw source to be placed at the start of the generated target code source file.
setStartState(String) - Method in class net.sf.smc.model.SmcFSM
Sets the FSM start state name.
setState(State) - Method in class statemap.FSMContext
Sets the current state to the given value.
setTransType(SmcElement.TransType) - Method in class net.sf.smc.model.SmcGuard
Sets the transition type.
setType(String) - Method in class net.sf.smc.model.SmcParameter
Sets the parameter type.
Smc - Class in net.sf.smc
Main class for the state machine compiler application.
SmcAction - Class in net.sf.smc.model
Actions are used in both transtions and state Entry and Exit clauses.
SmcAction(String, int) - Constructor for class net.sf.smc.model.SmcAction
Creates the named action appearing on the given .sm line.
SmcAction(String, int, boolean, List<String>) - Constructor for class net.sf.smc.model.SmcAction
Creates an action with all data members specified.
SmcCGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting C code to an output stream.
SmcCGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcCGenerator
Creates a C code generator for the given options.
SmcCodeGenerator - Class in net.sf.smc.generator
Base class for all target language code generators.
SmcCodeGenerator(SmcOptions, String) - Constructor for class net.sf.smc.generator.SmcCodeGenerator
Constructs the target code generator for the given parameters.
SmcCppGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting C++ code.
SmcCppGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcCppGenerator
Creates a C++ code generator for the given options.
SmcCSharpGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting C# code to an output stream.
SmcCSharpGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcCSharpGenerator
Creates a C# code generator for the given options.
SmcElement - Class in net.sf.smc.model
The super class for all abstract syntax tree elements.
SmcElement(String, int) - Constructor for class net.sf.smc.model.SmcElement
Default constructor.
SmcElement.TransType - Enum in net.sf.smc.model
The SMC transitions fall into four types.
SmcFSM - Class in net.sf.smc.model
The top-level element for a finite state machine model.
SmcFSM(String, String) - Constructor for class net.sf.smc.model.SmcFSM
Creates a finite state machine of the given name.
SmcGraphGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting a Graphviz diagram.
SmcGraphGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcGraphGenerator
Creates a GraphViz code generator for the given options.
SmcGroovyGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Groovy code.
SmcGroovyGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcGroovyGenerator
Creates a Groovy code generator for the given options.
SmcGuard - Class in net.sf.smc.model
This is the second half of a transition definition.
SmcGuard(String, int, SmcTransition) - Constructor for class net.sf.smc.model.SmcGuard
Creates a guard instance for the given transition, line number and condition.
SmcHeaderCGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting a C++ header file.
SmcHeaderCGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcHeaderCGenerator
Creates a C header code generator for the given options.
SmcHeaderGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting a C++ header file.
SmcHeaderGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcHeaderGenerator
Creates a C++ header code generator for the given options.
SmcHeaderObjCGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting an Objective C header file.
SmcHeaderObjCGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcHeaderObjCGenerator
Creates an Objective C header code generator for the given options.
SmcJavaGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Java code.
SmcJavaGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcJavaGenerator
Creates a Java code generator for the given options.
SmcLuaGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Lua code.
SmcLuaGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcLuaGenerator
Creates a Lua code generator for the given options.
SmcMap - Class in net.sf.smc.model
SMC has states grouped into maps.
SmcMap(String, int, SmcFSM) - Constructor for class net.sf.smc.model.SmcMap
Creates a state machine map with the given name, line number and finite state machine.
SmcMessage - Class in net.sf.smc.parser
Stores a warning or error message, the .sm file line number on which it occurred and the FSM's name.
SmcMessage(String, int, int, String) - Constructor for class net.sf.smc.parser.SmcMessage
Creates a message for the given FSM, line number, level and text.
SmcObjCGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree emitting Objective-C code.
SmcObjCGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcObjCGenerator
Creates a Objective C code generator for the given options.
SmcParameter - Class in net.sf.smc.model
This class contains a transition parameter definition.
SmcParameter(String, int, String) - Constructor for class net.sf.smc.model.SmcParameter
Creates a parameter instance with the given name, type and .sm file line number location.
SmcParser - Class in net.sf.smc.parser
Reads in a finite state machine definition from an input stream and returns the FSM model.
SmcParser(String, InputStream, SmcParser.TargetLanguage, boolean) - Constructor for class net.sf.smc.parser.SmcParser
Creates a parser for the named FSM in the given input stream.
SmcParser.TargetLanguage - Enum in net.sf.smc.parser
The currently supported SMC target languages.
SmcPerlGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Perl code.
SmcPerlGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcPerlGenerator
Creates a Perl code generator for the given options.
SmcPhpGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Python code.
SmcPhpGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcPhpGenerator
Creates a PHP code generator for the given options.
SmcPythonGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Python code.
SmcPythonGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcPythonGenerator
Creates a Python code generator for the given options.
SmcRubyGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Ruby code.
SmcRubyGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcRubyGenerator
Creates a Ruby code generator for the given options.
SmcScalaGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting Scala code.
SmcScalaGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcScalaGenerator
Creates a Scala code generator for the given options.
SmcState - Class in net.sf.smc.model
Contains the entry action, exit action and transition lists.
SmcState(String, int, SmcMap) - Constructor for class net.sf.smc.model.SmcState
Creates a state instance for the given state name, the line number where the state appears in the .sm file and the map to which this state belongs.
SmcSyntaxChecker - Class in net.sf.smc
Performs a global syntax check on the various elements of the abstract syntax tree.
SmcSyntaxChecker(String, SmcParser.TargetLanguage) - Constructor for class net.sf.smc.SmcSyntaxChecker
Creates a syntax checker for the named FSM and target programming language.
SmcTableGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting an HTML table.
SmcTableGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcTableGenerator
Creates a HTML table code generator for the given options.
SmcTclGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting [incr Tcl] code.
SmcTclGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcTclGenerator
Creates a Tcl code generator for the given options.
SmcTransition - Class in net.sf.smc.model
SMC breaks transitions into two components: this class and guard.
SmcTransition(String, List<SmcParameter>, int, SmcState) - Constructor for class net.sf.smc.model.SmcTransition
Creates a transitions instance with the given name, parameters, line number and owning state.
SmcVBGenerator - Class in net.sf.smc.generator
Visits the abstract syntax tree, emitting VB.Net code.
SmcVBGenerator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcVBGenerator
Creates a VB code generator for the given options.
SmcVisitor - Class in net.sf.smc.model
The super class for all FSM model visitors.
SmcVisitor() - Constructor for class net.sf.smc.model.SmcVisitor
Default constructor.
sourceFile(String, String, String) - Method in class net.sf.smc.generator.SmcCodeGenerator
Returns the source file name generated from the destination directory, base name and suffix using the source name format.
sourceFileName(String) - Method in enum net.sf.smc.parser.SmcParser.TargetLanguage
 
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.
statemap - package statemap
These are the run-time classes used by SMC-generated Java code.
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.

T

TCL_REFERENCE_TYPE - Static variable in class net.sf.smc.model.SmcParameter
Since Tcl is a typeless programming language, use this "type" if the parameter is to be accessed by reference.
TCL_VALUE_TYPE - Static variable in class net.sf.smc.model.SmcParameter
Since Tcl is a typeless programming language, use this "type" if the parameter is to be accessed by value.
toString() - Method in class net.sf.smc.model.SmcAction
Returns a textual representation of this action.
toString() - Method in class net.sf.smc.model.SmcGuard
Returns the transition guard text representation.
toString() - Method in class net.sf.smc.model.SmcMap
Returns the map's text representation.
toString() - Method in class net.sf.smc.model.SmcParameter
Returns the parameter text representation.
toString() - Method in class net.sf.smc.model.SmcState
Returns this state text representation.
toString() - Method in class net.sf.smc.model.SmcTransition
Returns the transition text representation.
toString() - Method in class statemap.State
Returns the state name.
TRANSITION_DEFINED_DEFAULT - Static variable in class statemap.State
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_UNDEFINED - Static variable in class statemap.State
Zero (0) means the transition is undefined.
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.

V

valueOf(String) - Static method in enum net.sf.smc.model.SmcElement.TransType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.smc.parser.SmcParser.TargetLanguage
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.smc.model.SmcElement.TransType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.smc.parser.SmcParser.TargetLanguage
Returns an array containing the constants of this enum type, in the order they are declared.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcCGenerator
Emits the following C code for the FSM:
visit(SmcMap) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for this FSM transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for this FSM guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcCGenerator
Emits C code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcCppGenerator
Emits C++ code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcCSharpGenerator
Emits C# code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for this FSM transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcGraphGenerator
Emits GraphViz code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcGroovyGenerator
Emits Groovy code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcHeaderCGenerator
Emits C header code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcHeaderCGenerator
Emits C header code for the FSM map.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcHeaderGenerator
Emits C++ header code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcHeaderGenerator
Generates the map class declaration and then the state classes:
visit(SmcState) - Method in class net.sf.smc.generator.SmcHeaderGenerator
Generates the state's class declaration:
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcHeaderGenerator
Generates the transition method declaration:
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcHeaderGenerator
Emits C++ header code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcHeaderObjCGenerator
Emits Objective C header code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcHeaderObjCGenerator
Generates the map class declaration and then the state classes:
visit(SmcState) - Method in class net.sf.smc.generator.SmcHeaderObjCGenerator
Generates the state class declaration.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcHeaderObjCGenerator
Generates the transition method declaration:
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcHeaderObjCGenerator
Emits Objective C header code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcJavaGenerator
Emits Java code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcLuaGenerator
Emits Lua code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcLuaGenerator
 
visit(SmcState) - Method in class net.sf.smc.generator.SmcLuaGenerator
Emits Lua code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcLuaGenerator
Emits Lua code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcLuaGenerator
Emits Lua code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcLuaGenerator
Emits Lua code for this FSM action.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcObjCGenerator
Emits Objective C code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcPerlGenerator
Emits Perl code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcPerlGenerator
 
visit(SmcState) - Method in class net.sf.smc.generator.SmcPerlGenerator
Emits Perl code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcPerlGenerator
Emits Perl code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcPerlGenerator
Emits Perl code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcPerlGenerator
Emits Perl code for this FSM action.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcPhpGenerator
Emits PHP code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcPythonGenerator
Emits Python code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcRubyGenerator
Emits Ruby code for this FSM action.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcScalaGenerator
Emits Scala code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcTableGenerator
Emits HTML table code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcTclGenerator
Emits Tcl code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for the finite state machine.
visit(SmcMap) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for the FSM map.
visit(SmcState) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for this FSM state.
visit(SmcTransition) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for this FSM state transition.
visit(SmcGuard) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for this FSM transition guard.
visit(SmcAction) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for this FSM action.
visit(SmcParameter) - Method in class net.sf.smc.generator.SmcVBGenerator
Emits VB code for this transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.model.SmcVisitor
Visits the top-level finite state machine element.
visit(SmcMap) - Method in class net.sf.smc.model.SmcVisitor
Visits a finite state machine submap.
visit(SmcState) - Method in class net.sf.smc.model.SmcVisitor
Visits a finite state machine state.
visit(SmcTransition) - Method in class net.sf.smc.model.SmcVisitor
Visits a finite state machine state transition.
visit(SmcGuard) - Method in class net.sf.smc.model.SmcVisitor
Visits a state tansition guard.
visit(SmcAction) - Method in class net.sf.smc.model.SmcVisitor
Visits a state transition action.
visit(SmcParameter) - Method in class net.sf.smc.model.SmcVisitor
Visits a state transition parameter.
visit(SmcFSM) - Method in class net.sf.smc.SmcSyntaxChecker
 
visit(SmcMap) - Method in class net.sf.smc.SmcSyntaxChecker
 
visit(SmcState) - Method in class net.sf.smc.SmcSyntaxChecker
 
visit(SmcTransition) - Method in class net.sf.smc.SmcSyntaxChecker
 
visit(SmcGuard) - Method in class net.sf.smc.SmcSyntaxChecker
 
visit(SmcParameter) - Method in class net.sf.smc.SmcSyntaxChecker
 

W

WARNING - Static variable in class net.sf.smc.parser.SmcMessage
A warning-level message (0).

_

_accessLevel - Variable in class net.sf.smc.generator.SmcCodeGenerator
Used this access keyword for the generated classes.
_castType - Variable in class net.sf.smc.generator.SmcCodeGenerator
Use this cast type (C++ only).
_debugFlag - Variable in class statemap.FSMContext
When this flag is set to true, this class will print out debug messages.
_debugLevel - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when debug output is to be generated.
_debugStream - Variable in class statemap.FSMContext
Write debug output to this stream.
_genericFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when reflection is to use a generic transition map.
_graphLevel - Variable in class net.sf.smc.generator.SmcCodeGenerator
Generate this much detail in the graph (-graph only).
_guardCount - Variable in class net.sf.smc.generator.SmcCodeGenerator
The total number of guards to be generated at this time.
_guardIndex - Variable in class net.sf.smc.generator.SmcCodeGenerator
The guard currently being generated.
_headerDirectory - Variable in class net.sf.smc.generator.SmcCodeGenerator
Place the generated header file in this directory.
_indent - Variable in class net.sf.smc.generator.SmcCodeGenerator
Output this indent before generating a line of code.
_lineNumber - Variable in class net.sf.smc.model.SmcElement
The line number where this element is defined in the .sm file.
_name - Variable in class net.sf.smc.model.SmcElement
An element has a unique name.
_name - Variable in class statemap.FSMContext
The FSM name.
_noCatchFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when exceptions are not caught.
_noExceptionFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when exceptions are not be thrown.
_noStreamsFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when I/O streams should not be used.
_previousState - Variable in class statemap.FSMContext
Stores which state a transition left.
_reflectFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when reflection is supported.
_serialFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when serialization is to be generated.
_source - Variable in class net.sf.smc.generator.SmcCodeGenerator
Emit the target source code to this output stream.
_srcDirectory - Variable in class net.sf.smc.generator.SmcCodeGenerator
Write the target source file to this directory.
_srcfileBase - Variable in class net.sf.smc.generator.SmcCodeGenerator
The .sm file's base name.
_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.
_syncFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
This flag is true when synchronization code is to be generated.
_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 V W _
SMC
6_0_1

Copyright © 2009. Charles W. Rapp. All Rights Reserved. Use is subject to license terms.