12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef BOOST_MSM_ACTIVE_STATE_SWITCHING_POLICIES_H
- #define BOOST_MSM_ACTIVE_STATE_SWITCHING_POLICIES_H
- namespace boost { namespace msm
- {
- struct active_state_switch_after_entry
- {
- static int after_guard(int current_state,int){return current_state;}
- static int after_exit(int current_state,int){return current_state;}
- static int after_action(int current_state,int){return current_state;}
- static int after_entry(int,int next_state){return next_state;}
- };
- struct active_state_switch_before_transition
- {
- static int after_guard(int,int next_state){return next_state;}
- static int after_exit(int,int next_state){return next_state;}
- static int after_action(int,int next_state){return next_state;}
- static int after_entry(int,int next_state){return next_state;}
- };
- struct active_state_switch_after_exit
- {
- static int after_guard(int current_state,int){return current_state;}
- static int after_exit(int,int next_state){return next_state;}
- static int after_action(int,int next_state){return next_state;}
- static int after_entry(int,int next_state){return next_state;}
- };
- struct active_state_switch_after_transition_action
- {
- static int after_guard(int current_state,int){return current_state;}
- static int after_exit(int current_state,int){return current_state;}
- static int after_action(int,int next_state){return next_state;}
- static int after_entry(int,int next_state){return next_state;}
- };
- } }
- #endif
|