org.echarts
Class StateMachine
java.lang.Object
org.echarts.Machine
org.echarts.StateMachine
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DynamicMachine, TransitionMachine
public abstract class StateMachine
- extends Machine
Abstract class representing a common elements of machines with at
least one state (and-machines, or-machines, and dynamic machines).
- See Also:
- Serialized Form
Methods inherited from class org.echarts.Machine |
clearSubmachineReference, getDefaultMachineDebugging, getDefaultMachineDebuggingGlobalStateOutput, getDefaultMachineMonitor, getDefaultMachineMonitorFilter, getDefaultMachineMonitoring, getMachineDebugging, getMachineDebuggingGlobalStateOutput, getMachineID, getMachineIndex, getMachineMonitor, getMachineMonitoring, getParentMachine, getRootMachine, getSystemDebugging, getSystemMonitoring, globalStateString, globalStateString, localStateString, localStateString, putEvent, setDebugging, setDefaultMachineDebugging, setDefaultMachineDebuggingGlobalStateOutput, setDefaultMachineMonitor, setDefaultMachineMonitorFilter, setDefaultMachineMonitoring, setMachineDebuggingGlobalStateOutput, setSystemDebugging, setSystemMonitoring, statePathString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StateMachine
public StateMachine(State[] states,
java.lang.String machineName,
Machine parentMachine,
int machineIndex,
MachineCode machineCode)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMachineMonitor
public final MachineMonitor setMachineMonitor(MachineMonitor monitor)
- Sets monitor in this machine and recursively in all
submachines. Overrides method in Machine class.
- Overrides:
setMachineMonitor
in class Machine
setMachineMonitoring
public final boolean setMachineMonitoring(boolean value)
- Set/clear monitoring flag in this machine and recursively in
all submachines. Overrides method in Machine class.
- Overrides:
setMachineMonitoring
in class Machine
setMachineDebugging
public final boolean setMachineDebugging(boolean value)
- Set/clear debugging flag in this machine and recursively in all
submachines. Overrides method in Machine class.
- Overrides:
setMachineDebugging
in class Machine