svt_fsm_callback Class Reference

Inheritance diagram for class svt_fsm_callback:

List of all members.


Detailed Description

Facade class for FSM callbacks



Public Member Functions

virtual function void  abort ( svt_fsm fsm )
virtual function void  exception ( svt_fsm fsm, svt_fsm_exception except )
virtual function void  goto ( svt_fsm_state_base from_state, ref svt_fsm_state_base to_state )
virtual function void  reset ( svt_fsm fsm )


Member Function Documentation

 virtual function void
 svt_fsm_callback::abort

 (  svt_fsm fsm  ) 


This method gets called whenever the FSM is aborted. The svt_fsm :: run method will return afterward.

 virtual function void
 svt_fsm_callback::exception

 (  svt_fsm fsm , svt_fsm_exception except  ) 


This method is called whenever the svt_fsm :: exception is called.

 virtual function void
 svt_fsm_callback::goto

 (  svt_fsm_state_base from_state , ref svt_fsm_state_base to_state  ) 


This method gets called whenever the FSM change state. 'from_state' is NULL when transitioning to the start state when svt_fsm :: run is called. If 'to_state' is modified, the FSM will transition to the newly specified state.

 virtual function void
 svt_fsm_callback::reset

 (  svt_fsm fsm  ) 


This method gets called whenever the FSM is reset. The goto method to the reset state will be called afterward.