- 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.
- 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.
- 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.
- getId() - Method in class statemap.State7
-
Returns the unique integer identifier.
- getIdentifier() - Method in class net.sf.smc.model.SmcTransition
-
Returns the unique transition 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
-
- 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.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.
- 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.
- getPreviousState() - Method in class statemap.FSMContext7
-
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.
- getState() - Method in class statemap.FSMContext7
-
Returns the current state.
- getStates() - Method in class net.sf.smc.model.SmcMap
-
Returns the map's states.
- getTargetFileName() - Method in class net.sf.smc.model.SmcFSM
-
Returns the target file name.
- 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.
- getTransition() - Method in class statemap.FSMContext7
-
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.
- getTransitions() - Method in class statemap.State7
-
Returns the state transition names.
- 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.
- 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
-
Scopes the state name.
- scopeStateName(String, String, String) - Method in class net.sf.smc.generator.SmcCodeGenerator
-
Scopes the state name.
- 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
.
- 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.
- 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
-
Sets the fsm class name.
- setFsmTargetFile(String) - Method in class net.sf.smc.model.SmcFSM
-
Sets the FSM 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.
- setName(String) - Method in class statemap.FSMContext7
-
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.
- setState(State7) - Method in class statemap.FSMContext7
-
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.
- SmcJava7Generator - Class in net.sf.smc.generator
-
Visits the abstract syntax tree, emitting Java code.
- SmcJava7Generator(SmcOptions) - Constructor for class net.sf.smc.generator.SmcJava7Generator
-
Creates a Java 7 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, 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.
- 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
-
These are 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".
- 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.SmcJava7Generator
-
Emits Java code for the finite state machine context
class.
- visit(SmcMap) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for the FSM map.
- visit(SmcState) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for this FSM state.
- visit(SmcTransition) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for this FSM state transition.
- visit(SmcGuard) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for this FSM transition guard.
- visit(SmcAction) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for this FSM action.
- visit(SmcParameter) - Method in class net.sf.smc.generator.SmcJava7Generator
-
Emits Java code for this transition parameter.
- visit(SmcFSM) - Method in class net.sf.smc.generator.SmcJavaGenerator
-
Emits Java code for the finite state machine context
class.
- 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
-
- _accessLevel - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Used this access keyword for the generated classes.
- _appName - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Application name.
- _appVersion - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Application version.
- _castType - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Use this cast type (C++ only).
- _crtpFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
This flag is true when generated code is template for CRTP.
- _debugFlag - Variable in class statemap.FSMContext
-
When this flag is set to true
, this class will
print out debug messages.
- _debugFlag - Variable in class statemap.FSMContext7
-
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.
- _debugStream - Variable in class statemap.FSMContext7
-
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.
- _headerSuffix - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Place this suffix on the header file.
- _indent - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
Output this indent before generating a line of code.
- _java7Flag - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
This flag is true
when Java 7 generic code is
generated.
- _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.
- _name - Variable in class statemap.FSMContext7
-
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.
- _previousState - Variable in class statemap.FSMContext7
-
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.
- _state - Variable in class statemap.FSMContext7
-
The current state.
- _stateStack - Variable in class statemap.FSMContext
-
This stack is used to store the current state when a push
transition is taken.
- _stateStack - Variable in class statemap.FSMContext7
-
This stack is used to store the current state when a push
transition is taken.
- _stateStackSize - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
A value > zero means that a statically-allocated state
stack of fixed-size is used.
- _syncFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
This flag is true when synchronization code is to be
generated.
- _targetfileBase - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
The target file's base name.
- _transition - Variable in class statemap.FSMContext
-
The current transition name.
- _transition - Variable in class statemap.FSMContext7
-
The current transition name.
- _useProtocolFlag - Variable in class net.sf.smc.generator.SmcCodeGenerator
-
This flag is true
when Objective-C code uses a
protocol instead of a class.