File indexing completed on 2025-01-30 09:48:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_MSM_ACTIVE_STATE_SWITCHING_POLICIES_H
0012 #define BOOST_MSM_ACTIVE_STATE_SWITCHING_POLICIES_H
0013
0014 namespace boost { namespace msm
0015 {
0016
0017
0018
0019 struct active_state_switch_after_entry
0020 {
0021 static int after_guard(int current_state,int){return current_state;}
0022 static int after_exit(int current_state,int){return current_state;}
0023 static int after_action(int current_state,int){return current_state;}
0024 static int after_entry(int,int next_state){return next_state;}
0025 };
0026
0027
0028 struct active_state_switch_before_transition
0029 {
0030 static int after_guard(int,int next_state){return next_state;}
0031 static int after_exit(int,int next_state){return next_state;}
0032 static int after_action(int,int next_state){return next_state;}
0033 static int after_entry(int,int next_state){return next_state;}
0034 };
0035
0036
0037 struct active_state_switch_after_exit
0038 {
0039 static int after_guard(int current_state,int){return current_state;}
0040 static int after_exit(int,int next_state){return next_state;}
0041 static int after_action(int,int next_state){return next_state;}
0042 static int after_entry(int,int next_state){return next_state;}
0043 };
0044
0045
0046 struct active_state_switch_after_transition_action
0047 {
0048 static int after_guard(int current_state,int){return current_state;}
0049 static int after_exit(int current_state,int){return current_state;}
0050 static int after_action(int,int next_state){return next_state;}
0051 static int after_entry(int,int next_state){return next_state;}
0052 };
0053
0054 } }
0055 #endif