|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.FiniteStateMachine.TransitionEvent
The TransitionEvent
class is used internally by the finite state machine for transitions
that take 1 more more clock cycles. The machine is put in the IN_TRANSITION
state and this
event is inserted into the event queue of the underlying clock. When this event fires, it will complete
the state transition and fire any probes as necessary.
Field Summary | |
protected int |
newState
|
protected int |
oldState
|
Constructor Summary | |
protected |
FiniteStateMachine.TransitionEvent()
|
Method Summary | |
void |
fire()
The fire() method is called when the event to which it is tied happens with in the
simulator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int oldState
protected int newState
Constructor Detail |
protected FiniteStateMachine.TransitionEvent()
Method Detail |
public void fire()
Simulator.Event
fire()
method is called when the event to which it is tied happens with in the
simulator.
fire
in interface Simulator.Event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |