|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.util.TransactionalList
avrora.sim.util.MulticastFSMProbe
The MulticastProbe is a wrapper around multiple probes that allows them to act as a single
probe. It is useful for composing multiple probes into one and is used internally in the simulator.
FiniteStateMachine| Nested Class Summary |
| Nested classes inherited from class avrora.sim.util.TransactionalList |
TransactionalList.Link |
| Field Summary |
| Fields inherited from class avrora.sim.util.TransactionalList |
head, nesting, tail, transHead, transTail |
| Constructor Summary | |
MulticastFSMProbe()
|
|
| Method Summary | |
void |
fireAfterTransition(int beforeState,
int afterState)
The fireAfterTransition() method allows the probe to gain control
after the state machine transitions between two states. |
void |
fireBeforeTransition(int beforeState,
int afterState)
The fireBeforeTransition() method allows the probe to gain control
before the state machine transitions between two states. |
| Methods inherited from class avrora.sim.util.TransactionalList |
add, beginTransaction, endTransaction, isEmpty, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MulticastFSMProbe()
| Method Detail |
public void fireBeforeTransition(int beforeState,
int afterState)
FiniteStateMachine.ProbefireBeforeTransition() method allows the probe to gain control
before the state machine transitions between two states. The before state and the
after state are passed as parameters.
fireBeforeTransition in interface FiniteStateMachine.ProbebeforeState - the before state represented as an integerafterState - the after state represented as an integer
public void fireAfterTransition(int beforeState,
int afterState)
FiniteStateMachine.ProbefireAfterTransition() method allows the probe to gain control
after the state machine transitions between two states. The before state and the
after state are passed as parameters.
fireAfterTransition in interface FiniteStateMachine.ProbebeforeState - the before state represented as an integerafterState - the after state represented as an integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||