/third_party/boost/libs/msm/test/ |
D | OrthogonalDeferred.cpp | 54 struct player_ : public msm::front::state_machine_def<player_> struct 61 player_(): in player_() function 247 typedef player_ p; // makes transition table cleaner argument 286 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 287 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 288 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 289 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 290 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 291 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 292 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | OrthogonalDeferred2.cpp | 57 struct player_ : public msm::front::state_machine_def<player_> struct 68 player_(): in player_() argument 252 typedef player_ p; // makes transition table cleaner argument 293 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 294 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 295 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 296 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 297 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 298 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 299 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | History.cpp | 43 struct player_ : public msm::front::state_machine_def<player_> struct 48 player_(): in player_() function 187 typedef player_ p; // makes transition table cleaner argument 221 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 222 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 223 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 224 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 225 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 226 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 227 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | CompositeMachine.cpp | 43 struct player_ : public msm::front::state_machine_def<player_> struct 48 player_(): in player_() function 187 typedef player_ p; // makes transition table cleaner argument 221 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 222 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 223 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 224 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 225 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 226 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 227 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | OrthogonalDeferred3.cpp | 57 struct player_ : public msm::front::state_machine_def<player_> struct 68 player_(): in player_() function 271 typedef player_ p; // makes transition table cleaner argument 312 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 313 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 314 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 315 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 316 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 317 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 318 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | SerializeWithHistory.cpp | 49 struct player_ : public msm::front::state_machine_def<player_> struct 54 player_(): in player_() argument 193 typedef player_ p; // makes transition table cleaner argument 227 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 228 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 229 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 230 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 231 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 232 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 233 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | TestDeferIn2Regions.cpp | 34 struct player_ : public msm::front::state_machine_def<player_> struct 109 fsm.template get_state<player_::State11&>().entry_counter=0; in on_entry() 110 fsm.template get_state<player_::State11&>().exit_counter=0; in on_entry() 111 fsm.template get_state<player_::State12&>().entry_counter=0; in on_entry() 112 fsm.template get_state<player_::State12&>().exit_counter=0; in on_entry() 113 fsm.template get_state<player_::State13&>().entry_counter=0; in on_entry() 114 fsm.template get_state<player_::State13&>().exit_counter=0; in on_entry() 115 fsm.template get_state<player_::State21&>().entry_counter=0; in on_entry() 116 fsm.template get_state<player_::State22&>().exit_counter=0; in on_entry() 120 typedef msm::back::state_machine<player_> player; [all …]
|
D | Serialize.cpp | 57 struct player_ : public msm::front::state_machine_def<player_> struct 63 player_(): in player_() argument 168 typedef player_ p; // makes transition table cleaner argument 202 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 203 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 204 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 205 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 206 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 207 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 208 fsm.template get_state<player_::Empty&>().some_dummy_data=3; in on_entry() [all …]
|
D | SimpleMachine.cpp | 51 struct player_ : public msm::front::state_machine_def<player_> struct 56 player_(): in player_() function 141 typedef player_ p; // makes transition table cleaner argument 175 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 176 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 177 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 178 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 179 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 180 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 181 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | SimpleInternalFunctors.cpp | 58 struct player_ : public msm::front::state_machine_def<player_> struct 65 player_(): in player_() function 203 typedef player_ p; // makes transition table cleaner argument 240 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 241 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 242 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 243 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 244 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 245 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 246 fsm.template get_state<player_::Empty&>().empty_internal_guard_counter=0; in on_entry() [all …]
|
D | SimpleInternal.cpp | 53 struct player_ : public msm::front::state_machine_def<player_> struct 60 player_(): in player_() argument 150 typedef player_ p; // makes transition table cleaner argument 187 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 188 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 189 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 190 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 191 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 192 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 193 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | SimpleWithFunctors.cpp | 61 struct player_ : public msm::front::state_machine_def<player_> struct 67 player_(): in player_() argument 242 typedef player_ p; // makes transition table cleaner argument 281 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 282 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 283 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 284 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 285 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 286 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 287 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | EventQueue.cpp | 61 struct player_ : public msm::front::state_machine_def<player_> struct 67 player_(): in player_() argument 242 typedef player_ p; // makes transition table cleaner argument 281 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 282 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 283 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 284 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 285 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 286 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 287 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
D | TestDeferAndMessageQueue2.cpp | 34 struct player_ : public msm::front::state_machine_def<player_> struct 36 player_() in player_() argument 119 fsm.template get_state<player_::State11&>().entry_counter=0; in on_entry() 120 fsm.template get_state<player_::State11&>().exit_counter=0; in on_entry() 121 fsm.template get_state<player_::State12&>().entry_counter=0; in on_entry() 122 fsm.template get_state<player_::State12&>().exit_counter=0; in on_entry() 123 fsm.template get_state<player_::State13&>().entry_counter=0; in on_entry() 124 fsm.template get_state<player_::State13&>().exit_counter=0; in on_entry() 130 typedef msm::back::state_machine<player_> player; 140 …BOOST_CHECK_MESSAGE(p.get_state<player_::State11&>().entry_counter == 1,"State11 entry not called … in BOOST_AUTO_TEST_CASE() [all …]
|
D | TestDeferAndMessageQueue3.cpp | 34 struct player_ : public msm::front::state_machine_def<player_> struct 39 player_() in player_() argument 122 fsm.template get_state<player_::State11&>().entry_counter=0; in on_entry() 123 fsm.template get_state<player_::State11&>().exit_counter=0; in on_entry() 124 fsm.template get_state<player_::State12&>().entry_counter=0; in on_entry() 125 fsm.template get_state<player_::State12&>().exit_counter=0; in on_entry() 126 fsm.template get_state<player_::State13&>().entry_counter=0; in on_entry() 127 fsm.template get_state<player_::State13&>().exit_counter=0; in on_entry() 133 typedef msm::back::state_machine<player_> player; 143 …BOOST_CHECK_MESSAGE(p.get_state<player_::State11&>().entry_counter == 1,"State11 entry not called … in BOOST_AUTO_TEST_CASE() [all …]
|
D | TestDeferAndMessageQueue.cpp | 35 struct player_ : public msm::front::state_machine_def<player_> struct 37 player_() in player_() argument 154 fsm.template get_state<player_::Unresolved&>().entry_counter=0; in on_entry() 155 fsm.template get_state<player_::Unresolved&>().exit_counter=0; in on_entry() 156 fsm.template get_state<player_::Resolving&>().entry_counter=0; in on_entry() 157 fsm.template get_state<player_::Resolving&>().exit_counter=0; in on_entry() 158 fsm.template get_state<player_::Resolved&>().entry_counter=0; in on_entry() 159 fsm.template get_state<player_::Resolved&>().exit_counter=0; in on_entry() 160 fsm.template get_state<player_::Connecting&>().entry_counter=0; in on_entry() 161 fsm.template get_state<player_::Connecting&>().exit_counter=0; in on_entry() [all …]
|
D | TestConstructor.cpp | 59 struct player_ : public msm::front::state_machine_def<player_> struct 61 player_(SomeExternalContext& context,int someint) in player_() function 102 void set_sm_ptr(player_* pl) in set_sm_ptr() 106 player_* m_player; 209 typedef player_ p; // makes transition table cleaner argument 242 typedef msm::back::state_machine<player_> player; 252 player p2(msm::back::states_ << player_::Empty(1),boost::ref(ctx),5); in BOOST_AUTO_TEST_CASE() 253 BOOST_CHECK_MESSAGE(p2.get_state<player_::Empty&>().data_ == 1,"Wrong Empty value"); in BOOST_AUTO_TEST_CASE() 255 p2.set_states(msm::back::states_ << player_::Empty(5)); in BOOST_AUTO_TEST_CASE() 256 BOOST_CHECK_MESSAGE(p2.get_state<player_::Empty&>().data_ == 5,"Wrong Empty value"); in BOOST_AUTO_TEST_CASE() [all …]
|
D | Constructor.cpp | 55 struct player_ : public msm::front::state_machine_def<player_> struct 57 player_(SomeExternalContext& context,int someint): in player_() argument 144 typedef player_ p; // makes transition table cleaner argument 178 fsm.template get_state<player_::Stopped&>().entry_counter=0; in on_entry() 179 fsm.template get_state<player_::Stopped&>().exit_counter=0; in on_entry() 180 fsm.template get_state<player_::Open&>().entry_counter=0; in on_entry() 181 fsm.template get_state<player_::Open&>().exit_counter=0; in on_entry() 182 fsm.template get_state<player_::Empty&>().entry_counter=0; in on_entry() 183 fsm.template get_state<player_::Empty&>().exit_counter=0; in on_entry() 184 fsm.template get_state<player_::Playing&>().entry_counter=0; in on_entry() [all …]
|
/third_party/boost/libs/msm/doc/PDF/examples/ |
D | Constructor.cpp | 55 struct player_ : public msm::front::state_machine_def<player_> struct 57 player_(SomeExternalContext& context,int someint) in player_() function 97 void set_sm_ptr(player_* pl) in set_sm_ptr() 101 player_* m_player; 204 typedef player_ p; // makes transition table cleaner argument 238 typedef msm::back::state_machine<player_> player; 260 player p2(msm::back::states_ << player_::Empty(1),boost::ref(ctx),5); in test() 261 …std::cout << "Empty's data should be 1. Is: " << p2.get_state<player_::Empty&>().data_ << std::end… in test() 264 p2.set_states(msm::back::states_ << player_::Empty(5)); in test() 265 …std::cout << "Empty's data should be 5. Is: " << p2.get_state<player_::Empty&>().data_ << std::end… in test() [all …]
|
D | SimpleTutorial2.cpp | 49 struct player_ : public msm::front::state_machine_def<player_> struct 96 void set_sm_ptr(player_* pl) in set_sm_ptr() 100 player_* m_player; 155 row2 < Empty , cd_detected , Stopped , player_ ,&player_::store_cd_info 156 , player_ ,&player_::good_disk_format >, 157 row2 < Empty , cd_detected , Playing , player_ ,&player_::store_cd_info 182 typedef msm::back::state_machine<player_> player;
|
D | Serialize.cpp | 46 struct player_ : public msm::front::state_machine_def<player_> struct 50 player_():front_end_data(0){} in player_() argument 92 void set_sm_ptr(player_* pl) in set_sm_ptr() 96 player_* m_player; 143 typedef player_ p; // makes transition table cleaner argument 177 typedef msm::back::state_machine<player_> player; 193 p.get_state<player_::Empty&>().some_dummy_data=3; in test() 217 …std::cout << "Empty's data should be 3:" << p2.get_state<player_::Empty&>().some_dummy_data << std… in test()
|
/third_party/boost/libs/msm/doc/HTML/examples/ |
D | Constructor.cpp | 55 struct player_ : public msm::front::state_machine_def<player_> struct 57 player_(SomeExternalContext& context,int someint) in player_() argument 97 void set_sm_ptr(player_* pl) in set_sm_ptr() 101 player_* m_player; 204 typedef player_ p; // makes transition table cleaner argument 238 typedef msm::back::state_machine<player_> player; 260 player p2(msm::back::states_ << player_::Empty(1),boost::ref(ctx),5); in test() 261 …std::cout << "Empty's data should be 1. Is: " << p2.get_state<player_::Empty&>().data_ << std::end… in test() 264 p2.set_states(msm::back::states_ << player_::Empty(5)); in test() 265 …std::cout << "Empty's data should be 5. Is: " << p2.get_state<player_::Empty&>().data_ << std::end… in test() [all …]
|
D | SimpleTutorial2.cpp | 49 struct player_ : public msm::front::state_machine_def<player_> struct 96 void set_sm_ptr(player_* pl) in set_sm_ptr() 100 player_* m_player; 155 row2 < Empty , cd_detected , Stopped , player_ ,&player_::store_cd_info 156 , player_ ,&player_::good_disk_format >, 157 row2 < Empty , cd_detected , Playing , player_ ,&player_::store_cd_info 182 typedef msm::back::state_machine<player_> player;
|
D | Serialize.cpp | 46 struct player_ : public msm::front::state_machine_def<player_> struct 50 player_():front_end_data(0){} in player_() function 92 void set_sm_ptr(player_* pl) in set_sm_ptr() 96 player_* m_player; 143 typedef player_ p; // makes transition table cleaner argument 177 typedef msm::back::state_machine<player_> player; 193 p.get_state<player_::Empty&>().some_dummy_data=3; in test() 217 …std::cout << "Empty's data should be 3:" << p2.get_state<player_::Empty&>().some_dummy_data << std… in test()
|
/third_party/boost/libs/msm/example/mpl_graph/ |
D | msm_adaptor.cpp | 58 struct player_ : public msm::front::state_machine_def<player_> struct 84 void set_sm_ptr(player_* pl) in set_sm_ptr() 88 player_* m_player; 135 typedef player_ p; // makes transition table cleaner argument 177 typedef mpl::fold<player_::transition_table, 196 player_::initial_state>::type>::type 212 player_::initial_state>::type>::type 221 typedef msm::back::state_machine<player_> player;
|