|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.Machine org.echarts.StateMachine org.echarts.DynamicMachine
public abstract class DynamicMachine
Field Summary |
---|
Fields inherited from class org.echarts.Machine |
---|
ANY_CONFIG, BASIC_CONFIG, DEEP_HISTORY_CONFIG, DEFAULT_INITIAL_CONFIG, NEW_CONFIG, serialVersionUID, TERMINAL_CONFIG, VARIABLE_CONFIG |
Constructor Summary | |
---|---|
DynamicMachine(State[] state,
int bound,
java.lang.String machineName,
Machine parentMachine,
int machineIndex,
MachineCode machineCode)
|
Method Summary | |
---|---|
Machine[] |
getSubmachines()
Return a reference to this machine's array of submachines. |
java.lang.String |
globalStateString()
Returns formatted image of machine's global state. |
java.lang.String |
globalStateString(StateConfiguration targetConfig,
TransitionMachine firedMachine)
Returns formated image of machine's global state that has changed as a result of firing transition with specified relative target state configuration. |
java.lang.String |
localStateString()
Returns formatted image of machine's local state. |
java.lang.String |
localStateString(StateConfiguration targetConfig,
TransitionMachine firedMachine)
Returns formated image of machine's local state that has changed as a result of firing transition with specified relative target state configuration. |
void |
putEvent(MachineMonitorEvent event)
Overrides method in Machine class. |
void |
setSubmachines(Machine[] submachines)
Sets value of this machine's array of submachines. |
java.lang.String |
statePathString()
Returns this machine's state path string. |
Methods inherited from class org.echarts.StateMachine |
---|
setMachineDebugging, setMachineMonitor, setMachineMonitoring |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicMachine(State[] state, int bound, java.lang.String machineName, Machine parentMachine, int machineIndex, MachineCode machineCode) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public final void putEvent(MachineMonitorEvent event) throws java.lang.Exception
putEvent
in class Machine
java.lang.Exception
public final Machine[] getSubmachines()
public final void setSubmachines(Machine[] submachines)
public java.lang.String statePathString()
statePathString
in class Machine
public final java.lang.String globalStateString(StateConfiguration targetConfig, TransitionMachine firedMachine) throws java.lang.Exception
globalStateString
in class Machine
java.lang.Exception
public final java.lang.String localStateString(StateConfiguration targetConfig, TransitionMachine firedMachine) throws java.lang.Exception
localStateString
in class Machine
java.lang.Exception
public final java.lang.String globalStateString()
globalStateString
in class Machine
public final java.lang.String localStateString()
localStateString
in class Machine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |