public class StateSimple.PlugStateSimpleToGenState
extends java.lang.Object
org.vishia.stateMGen.StateMGen
in the component srcJava_Zbnf
to help generate a state machine for C language. It is public for such approaches.
This class should not be used by an application which deals with states only in a Java context.
The class is a non-static inner class to access private methods from its outer class.Constructor and Description |
---|
PlugStateSimpleToGenState() |
Modifier and Type | Method and Description |
---|---|
void |
addTransition(StateSimple.Trans trans)
Adds a transition.
|
void |
createTransitions(int nrofTransitions)
Creates the empty yet array of transitions.
|
public void createTransitions(int nrofTransitions)
nrofTransitions
- Number should be the number of transitions to add, see #addTransition(Trans)
public void addTransition(StateSimple.Trans trans)
trans
-