• Home
  • Raw
  • Download

Lines Matching refs:player_

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()
234 fsm.template get_state<player_::Playing&>().exit_counter=0; in on_entry()
235 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_c… in on_entry()
236 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_co… in on_entry()
237 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_c… in on_entry()
238 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_co… in on_entry()
239 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_c… in on_entry()
240 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_co… in on_entry()
241 fsm.template get_state<player_::Paused&>().entry_counter=0; in on_entry()
242 fsm.template get_state<player_::Paused&>().exit_counter=0; in on_entry()
247 typedef msm::back::state_machine<player_> player;
257 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 1,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
261 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 1,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
262 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().entry_counter == 1,"Open entry not called correc… in BOOST_AUTO_TEST_CASE()
266 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().exit_counter == 1,"Open exit not called correctl… in BOOST_AUTO_TEST_CASE()
267 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 2,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
272 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 2,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
273 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 1,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
277 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 1,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
278 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 1,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
280 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
282 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
287 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
289 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
292 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
295 p.get_state<player_::Playing&>().start_next_song_counter == 0, in BOOST_AUTO_TEST_CASE()
300 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
302 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
305 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
308 p.get_state<player_::Playing&>().start_next_song_counter == 1, in BOOST_AUTO_TEST_CASE()
313 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
315 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 2, in BOOST_AUTO_TEST_CASE()
318 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
321 p.get_state<player_::Playing&>().start_prev_song_guard_counter == 1, in BOOST_AUTO_TEST_CASE()
326 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 1,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
327 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().entry_counter == 1,"Paused entry not called co… in BOOST_AUTO_TEST_CASE()
348 …BOOST_CHECK_MESSAGE(p2.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be act… in BOOST_AUTO_TEST_CASE()
360 …BOOST_CHECK_MESSAGE(p2.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be act… in BOOST_AUTO_TEST_CASE()