|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateMachineObserverIF
Defines a contract for tracing state machines
Method Summary | |
---|---|
void |
smCompositeState(SMStateIF state,
SimpleStateMachine compStateSM,
SimpleStateMachine sm)
Called every time a composite state added or a state becomes composite. |
void |
smHandledEvent(SimpleStateMachine sm,
SMStateIF origState,
java.lang.Class triggerEventCls,
StateTransition transition,
SMStateIF newState)
Called every time a transition performed. |
void |
smStateChanged(SimpleStateMachine sm,
SMStateIF state)
Called every time a state added or changed |
void |
smStateEntry(SimpleStateMachine sm,
SMStateIF state)
Called every time a state becomes current |
void |
smStateEntryTransAdded(SimpleStateMachine sm,
SMStateIF state,
EntryStateTransition trans)
Called every time an entry transition added |
void |
smStateEntryTransRemoved(SimpleStateMachine sm,
SMStateIF state,
EntryStateTransition trans)
Called every time an entry transition removed |
void |
smStateExit(SimpleStateMachine sm,
SMStateIF state)
Called every time a current state changes to other state |
void |
smStateExitTransAdded(SimpleStateMachine sm,
SMStateIF state,
ExitStateTransition trans)
Called every time an exit transition added |
void |
smTransitionAdded(SimpleStateMachine sm,
SMStateIF origState,
java.lang.Class triggerEventCls,
StateTransition transition,
SMStateIF newState)
Called every time a transition added. |
Method Detail |
---|
void smStateChanged(SimpleStateMachine sm, SMStateIF state)
sm
- the state machine containing the statestate
- the statevoid smTransitionAdded(SimpleStateMachine sm, SMStateIF origState, java.lang.Class triggerEventCls, StateTransition transition, SMStateIF newState)
addTransition method
for the details
about the parameters
void smStateEntry(SimpleStateMachine sm, SMStateIF state)
sm
- containing SMstate
- the new current statevoid smStateExit(SimpleStateMachine sm, SMStateIF state)
sm
- containing SMstate
- the old current statevoid smHandledEvent(SimpleStateMachine sm, SMStateIF origState, java.lang.Class triggerEventCls, StateTransition transition, SMStateIF newState)
addTransition method
for the details
about the parameters
void smStateEntryTransAdded(SimpleStateMachine sm, SMStateIF state, EntryStateTransition trans)
sm
- the containing SMstate
- the state that the transition was addedtrans
- the entry transitionvoid smStateEntryTransRemoved(SimpleStateMachine sm, SMStateIF state, EntryStateTransition trans)
sm
- the containing SMstate
- the state that the transition was removedtrans
- the entry transitionvoid smStateExitTransAdded(SimpleStateMachine sm, SMStateIF state, ExitStateTransition trans)
sm
- the containing SMstate
- the state that the transition was addedtrans
- the exit transitionvoid smCompositeState(SMStateIF state, SimpleStateMachine compStateSM, SimpleStateMachine sm)
state
- the composite statecompStateSM
- the composite state internal SMsm
- contaning SM
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |