Lines Matching refs:player_
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()
319 fsm.template get_state<player_::Playing&>().exit_counter=0; in on_entry()
320 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_c… in on_entry()
321 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_co… in on_entry()
322 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_c… in on_entry()
323 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_co… in on_entry()
324 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_c… in on_entry()
325 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_co… in on_entry()
326 fsm.template get_state<player_::Paused&>().entry_counter=0; in on_entry()
327 fsm.template get_state<player_::Paused&>().exit_counter=0; in on_entry()
328 fsm.template get_state<player_::AllOk&>().entry_counter=0; in on_entry()
329 fsm.template get_state<player_::AllOk&>().exit_counter=0; in on_entry()
330 fsm.template get_state<player_::ErrorMode&>().entry_counter=0; in on_entry()
331 fsm.template get_state<player_::ErrorMode&>().exit_counter=0; in on_entry()
332 fsm.template get_state<player_::ErrorTerminate&>().entry_counter=0; in on_entry()
333 fsm.template get_state<player_::ErrorTerminate&>().exit_counter=0; in on_entry()
337 typedef msm::back::state_machine<player_> player;
350 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().exit_counter == 0,"Open exit not called correctl… in BOOST_AUTO_TEST_CASE()
351 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 0,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
352 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 1,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
357 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 1,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
358 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().entry_counter == 1,"Open entry not called correc… in BOOST_AUTO_TEST_CASE()
361 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().exit_counter == 1,"Open exit not called correctl… in BOOST_AUTO_TEST_CASE()
362 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 2,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
367 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 2,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
368 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 1,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
369 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 1,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
370 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 1,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
372 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
374 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
384 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
386 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
389 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
392 p.get_state<player_::Playing&>().start_next_song_counter == 0, in BOOST_AUTO_TEST_CASE()
397 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
399 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
402 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
405 p.get_state<player_::Playing&>().start_next_song_counter == 1, in BOOST_AUTO_TEST_CASE()
410 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
412 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 2, in BOOST_AUTO_TEST_CASE()
415 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
418 p.get_state<player_::Playing&>().start_prev_song_guard_counter == 1, in BOOST_AUTO_TEST_CASE()
426 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 1,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
427 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().entry_counter == 1,"Paused entry not called co… in BOOST_AUTO_TEST_CASE()
434 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().exit_counter == 1,"Paused exit not called corr… in BOOST_AUTO_TEST_CASE()
435 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 2,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
439 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 2,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
440 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().entry_counter == 2,"Paused entry not called co… in BOOST_AUTO_TEST_CASE()
444 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().exit_counter == 2,"Paused exit not called corr… in BOOST_AUTO_TEST_CASE()
445 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 2,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
453 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 2,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
454 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
460 …BOOST_CHECK_MESSAGE(p.get_state<player_::AllOk&>().exit_counter == 1,"AllOk exit not called correc… in BOOST_AUTO_TEST_CASE()
461 …BOOST_CHECK_MESSAGE(p.get_state<player_::ErrorMode&>().entry_counter == 1,"ErrorMode entry not cal… in BOOST_AUTO_TEST_CASE()
466 …BOOST_CHECK_MESSAGE(p.get_state<player_::AllOk&>().exit_counter == 1,"AllOk exit not called correc… in BOOST_AUTO_TEST_CASE()
467 …BOOST_CHECK_MESSAGE(p.get_state<player_::ErrorMode&>().entry_counter == 1,"ErrorMode entry not cal… in BOOST_AUTO_TEST_CASE()
469 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 2,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
470 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
474 …BOOST_CHECK_MESSAGE(p.get_state<player_::ErrorMode&>().exit_counter == 1,"ErrorMode exit not calle… in BOOST_AUTO_TEST_CASE()
475 …BOOST_CHECK_MESSAGE(p.get_state<player_::AllOk&>().entry_counter == 2,"AllOk entry not called corr… in BOOST_AUTO_TEST_CASE()
479 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 3,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
480 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 3,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
486 …BOOST_CHECK_MESSAGE(p.get_state<player_::AllOk&>().exit_counter == 2,"AllOk exit not called correc… in BOOST_AUTO_TEST_CASE()
487 …BOOST_CHECK_MESSAGE(p.get_state<player_::ErrorTerminate&>().entry_counter == 1,"ErrorTerminate ent… in BOOST_AUTO_TEST_CASE()
492 …BOOST_CHECK_MESSAGE(p.get_state<player_::ErrorTerminate&>().exit_counter == 0,"ErrorTerminate exit… in BOOST_AUTO_TEST_CASE()
494 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 2,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
495 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
500 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 2,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
501 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
506 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 2,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
507 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()