Lines Matching refs:player_
43 struct player_ : public msm::front::state_machine_def<player_> struct
48 player_(): in player_() argument
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()
228 fsm.template get_state<player_::Playing&>().exit_counter=0; in on_entry()
229 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_c… in on_entry()
230 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_co… in on_entry()
231 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_c… in on_entry()
232 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_co… in on_entry()
233 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_c… in on_entry()
234 …fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_co… in on_entry()
235 fsm.template get_state<player_::Paused&>().entry_counter=0; in on_entry()
236 fsm.template get_state<player_::Paused&>().exit_counter=0; in on_entry()
241 typedef msm::back::state_machine<player_> player;
251 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 1,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
255 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 1,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
256 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().entry_counter == 1,"Open entry not called correc… in BOOST_AUTO_TEST_CASE()
260 …BOOST_CHECK_MESSAGE(p.get_state<player_::Open&>().exit_counter == 1,"Open exit not called correctl… in BOOST_AUTO_TEST_CASE()
261 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().entry_counter == 2,"Empty entry not called corr… in BOOST_AUTO_TEST_CASE()
266 …BOOST_CHECK_MESSAGE(p.get_state<player_::Empty&>().exit_counter == 2,"Empty exit not called correc… in BOOST_AUTO_TEST_CASE()
267 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 1,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
271 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 1,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
272 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 1,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
274 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
276 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
281 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
283 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
286 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
289 p.get_state<player_::Playing&>().start_next_song_counter == 0, in BOOST_AUTO_TEST_CASE()
294 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
296 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter == 1, in BOOST_AUTO_TEST_CASE()
299 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
302 p.get_state<player_::Playing&>().start_next_song_counter == 1, in BOOST_AUTO_TEST_CASE()
307 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
309 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter == 2, in BOOST_AUTO_TEST_CASE()
312 … p.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter == 1, in BOOST_AUTO_TEST_CASE()
315 p.get_state<player_::Playing&>().start_prev_song_guard_counter == 1, in BOOST_AUTO_TEST_CASE()
320 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 1,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
321 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().entry_counter == 1,"Paused entry not called co… in BOOST_AUTO_TEST_CASE()
326 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().exit_counter == 1,"Paused exit not called corr… in BOOST_AUTO_TEST_CASE()
327 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().entry_counter == 2,"Playing entry not called … in BOOST_AUTO_TEST_CASE()
331 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().exit_counter == 2,"Playing exit not called co… in BOOST_AUTO_TEST_CASE()
332 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().entry_counter == 2,"Paused entry not called co… in BOOST_AUTO_TEST_CASE()
336 …BOOST_CHECK_MESSAGE(p.get_state<player_::Paused&>().exit_counter == 2,"Paused exit not called corr… in BOOST_AUTO_TEST_CASE()
337 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 2,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()
341 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().exit_counter == 2,"Stopped exit not called co… in BOOST_AUTO_TEST_CASE()
342 …BOOST_CHECK_MESSAGE(p.get_state<player_::Stopped&>().entry_counter == 3,"Stopped entry not called … in BOOST_AUTO_TEST_CASE()