/third_party/boost/libs/msm/doc/PDF/examples/ |
D | SCSimple.cpp | 37 struct open_close : sc::event< open_close > {}; struct 49 void open_drawer(open_close const&) { /*std::cout << "player::open_drawer\n";*/ } in open_drawer() 51 void close_drawer(open_close const&) { /*std::cout << "player::close_drawer\n";*/ } in close_drawer() 56 void stop_and_open(open_close const&) { /*std::cout << "player::stop_and_open\n";*/ } in stop_and_open() 65 sc::transition< open_close, Open, 75 typedef sc::transition< open_close, Empty, 86 sc::transition< open_close, Open, 101 sc::transition< open_close, Open, 113 sc::transition< open_close, Open, 143 p.process_event(test_sc::open_close()); in main() [all …]
|
D | MsmSimple.cpp | 31 struct open_close {}; struct 86 void open_drawer(open_close const&) { } in open_drawer() 87 void close_drawer(open_close const&) { } in close_drawer() 92 void stop_and_open(open_close const&) { } in stop_and_open() 103 _row < Stopped , open_close , Open >, 106 _row < Open , open_close , Empty >, 108 _row < Empty , open_close , Open >, 113 _row < Playing , open_close , Open >, 117 _row < Paused , open_close , Open > 173 p2.process_event(test_fsm::open_close()); in main() [all …]
|
D | SCComposite.cpp | 37 struct open_close : sc::event< open_close > {}; struct 50 void open_drawer(open_close const&) { /*std::cout << "player::open_drawer\n";*/ } in open_drawer() 52 void close_drawer(open_close const&) { /*std::cout << "player::close_drawer\n";*/ } in close_drawer() 57 void stop_and_open(open_close const&) { /*std::cout << "player::stop_and_open\n";*/ } in stop_and_open() 66 sc::transition< open_close, Open, 76 typedef sc::transition< open_close, Empty, 87 sc::transition< open_close, Open, 103 sc::transition< open_close, Open, 143 sc::transition< open_close, Open, 173 p.process_event(test_sc::open_close()); in main() [all …]
|
D | EumlInternal.cpp | 32 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 73 Empty == Open + open_close / close_drawer, 75 Open == Empty + open_close / open_drawer, 76 Open == Paused + open_close / stop_and_open, 77 Open == Stopped + open_close / open_drawer, 78 Open == Playing + open_close / stop_and_open, 79 Open + open_close [internal_guard1] / internal_action1, 80 Open + open_close [internal_guard2] / internal_action2, 123 p.process_event(open_close); pstate(p); in test() 127 p.process_event(open_close); pstate(p); in test()
|
D | MsmComposite.cpp | 31 struct open_close {}; struct 122 void open_drawer(open_close const&) { } in open_drawer() 123 void close_drawer(open_close const&) { } in close_drawer() 128 void stop_and_open(open_close const&) { } in stop_and_open() 139 a_row < Stopped , open_close , Open , &p::open_drawer >, 142 a_row < Open , open_close , Empty , &p::close_drawer >, 144 a_row < Empty , open_close , Open , &p::open_drawer >, 149 a_row < Playing , open_close , Open , &p::stop_and_open >, 153 a_row < Paused , open_close , Open , &p::stop_and_open > 209 p2.process_event(test_fsm::open_close()); in main() [all …]
|
D | EumlInternalDistributed.cpp | 33 BOOST_MSM_EUML_EVENT(open_close) 55 open_close [internal_guard1] / internal_action1 , 56 open_close [internal_guard2] / internal_action2 , 128 Stopped + open_close / open_drawer == Open , 131 Open + open_close / close_drawer == Empty , 133 Empty + open_close / open_drawer == Open , 141 Playing + open_close / stop_and_open == Open , 145 Paused + open_close / stop_and_open == Open 180 p.process_event(open_close); pstate(p); in test() 184 p.process_event(open_close); pstate(p); in test()
|
D | EumlSimple.cpp | 36 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 115 Empty == Open + open_close / close_drawer , 117 Open == Empty + open_close / open_drawer , 118 Open == Paused + open_close / stop_and_open , 119 Open == Stopped + open_close / open_drawer , 120 Open == Playing + open_close / stop_and_open , 196 p2.process_event(open_close); in main() 197 p2.process_event(open_close); in main() 207 p2.process_event(open_close); in main() 208 p2.process_event(open_close); in main()
|
D | SimpleTutorialInternal2.cpp | 28 struct open_close {}; struct 131 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 132 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 137 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 158 a_row < Stopped , open_close , Open , &p::open_drawer >, 161 a_row < Open , open_close , Empty , &p::close_drawer >, 163 a_row < Empty , open_close , Open , &p::open_drawer >, 171 a_row < Playing , open_close , Open , &p::stop_and_open >, 175 a_row < Paused , open_close , Open , &p::stop_and_open > 206 p.process_event(open_close()); pstate(p); in test() [all …]
|
D | SimpleTutorial.cpp | 27 struct open_close {}; struct 109 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 110 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 115 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 142 a_row < Stopped , open_close , Open , &p::open_drawer >, 145 a_row < Open , open_close , Empty , &p::close_drawer >, 147 a_row < Empty , open_close , Open , &p::open_drawer >, 153 a_row < Playing , open_close , Open , &p::stop_and_open >, 157 a_row < Paused , open_close , Open , &p::stop_and_open > 186 p.process_event(open_close()); pstate(p); in test() [all …]
|
D | SimpleTutorialEuml2.cpp | 32 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 71 Stopped + open_close / open_drawer == Open , 74 Open + open_close / close_drawer == Empty , 76 Empty + open_close / open_drawer == Open , 83 Playing + open_close / stop_and_open == Open , 87 Paused + open_close / stop_and_open == Open 120 p.process_event(open_close); pstate(p); in test() 121 p.process_event(open_close); pstate(p); in test()
|
D | SimpleTutorial2.cpp | 29 struct open_close {}; struct 70 void open_drawer(open_close const&) { std::cout << "Empty::open_drawer\n"; } in open_drawer() 85 void close_drawer(open_close const&) { std::cout << "Open::close_drawer\n"; } in close_drawer() 86 void stop_and_open(open_close const&) { std::cout << "Open::stop_and_open\n"; } in stop_and_open() 149 a_row2 < Stopped , open_close , Open , Empty , &Empty::open_drawer >, 152 a_row2 < Open , open_close , Empty , Open , &Open::close_drawer >, 154 a_row2 < Empty , open_close , Open , Empty ,&Empty::open_drawer >, 166 a_row2 < Playing , open_close , Open , Open ,&Open::stop_and_open >, 170 a_row2 < Paused , open_close , Open , Open ,&Open::stop_and_open > 199 p.process_event(open_close()); pstate(p); in test() [all …]
|
/third_party/boost/libs/msm/doc/HTML/examples/ |
D | SCSimple.cpp | 37 struct open_close : sc::event< open_close > {}; struct 49 void open_drawer(open_close const&) { /*std::cout << "player::open_drawer\n";*/ } in open_drawer() 51 void close_drawer(open_close const&) { /*std::cout << "player::close_drawer\n";*/ } in close_drawer() 56 void stop_and_open(open_close const&) { /*std::cout << "player::stop_and_open\n";*/ } in stop_and_open() 65 sc::transition< open_close, Open, 75 typedef sc::transition< open_close, Empty, 86 sc::transition< open_close, Open, 101 sc::transition< open_close, Open, 113 sc::transition< open_close, Open, 143 p.process_event(test_sc::open_close()); in main() [all …]
|
D | MsmSimple.cpp | 31 struct open_close {}; struct 86 void open_drawer(open_close const&) { } in open_drawer() 87 void close_drawer(open_close const&) { } in close_drawer() 92 void stop_and_open(open_close const&) { } in stop_and_open() 103 _row < Stopped , open_close , Open >, 106 _row < Open , open_close , Empty >, 108 _row < Empty , open_close , Open >, 113 _row < Playing , open_close , Open >, 117 _row < Paused , open_close , Open > 173 p2.process_event(test_fsm::open_close()); in main() [all …]
|
D | SCComposite.cpp | 37 struct open_close : sc::event< open_close > {}; struct 50 void open_drawer(open_close const&) { /*std::cout << "player::open_drawer\n";*/ } in open_drawer() 52 void close_drawer(open_close const&) { /*std::cout << "player::close_drawer\n";*/ } in close_drawer() 57 void stop_and_open(open_close const&) { /*std::cout << "player::stop_and_open\n";*/ } in stop_and_open() 66 sc::transition< open_close, Open, 76 typedef sc::transition< open_close, Empty, 87 sc::transition< open_close, Open, 103 sc::transition< open_close, Open, 143 sc::transition< open_close, Open, 173 p.process_event(test_sc::open_close()); in main() [all …]
|
D | EumlInternal.cpp | 32 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 73 Empty == Open + open_close / close_drawer, 75 Open == Empty + open_close / open_drawer, 76 Open == Paused + open_close / stop_and_open, 77 Open == Stopped + open_close / open_drawer, 78 Open == Playing + open_close / stop_and_open, 79 Open + open_close [internal_guard1] / internal_action1, 80 Open + open_close [internal_guard2] / internal_action2, 123 p.process_event(open_close); pstate(p); in test() 127 p.process_event(open_close); pstate(p); in test()
|
D | MsmComposite.cpp | 31 struct open_close {}; struct 122 void open_drawer(open_close const&) { } in open_drawer() 123 void close_drawer(open_close const&) { } in close_drawer() 128 void stop_and_open(open_close const&) { } in stop_and_open() 139 a_row < Stopped , open_close , Open , &p::open_drawer >, 142 a_row < Open , open_close , Empty , &p::close_drawer >, 144 a_row < Empty , open_close , Open , &p::open_drawer >, 149 a_row < Playing , open_close , Open , &p::stop_and_open >, 153 a_row < Paused , open_close , Open , &p::stop_and_open > 209 p2.process_event(test_fsm::open_close()); in main() [all …]
|
D | EumlSimple.cpp | 36 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 115 Empty == Open + open_close / close_drawer , 117 Open == Empty + open_close / open_drawer , 118 Open == Paused + open_close / stop_and_open , 119 Open == Stopped + open_close / open_drawer , 120 Open == Playing + open_close / stop_and_open , 196 p2.process_event(open_close); in main() 197 p2.process_event(open_close); in main() 207 p2.process_event(open_close); in main() 208 p2.process_event(open_close); in main()
|
D | EumlInternalDistributed.cpp | 33 BOOST_MSM_EUML_EVENT(open_close) 55 open_close [internal_guard1] / internal_action1 , 56 open_close [internal_guard2] / internal_action2 , 128 Stopped + open_close / open_drawer == Open , 131 Open + open_close / close_drawer == Empty , 133 Empty + open_close / open_drawer == Open , 141 Playing + open_close / stop_and_open == Open , 145 Paused + open_close / stop_and_open == Open 180 p.process_event(open_close); pstate(p); in test() 184 p.process_event(open_close); pstate(p); in test()
|
D | SimpleTutorialInternal2.cpp | 28 struct open_close {}; struct 131 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 132 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 137 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 158 a_row < Stopped , open_close , Open , &p::open_drawer >, 161 a_row < Open , open_close , Empty , &p::close_drawer >, 163 a_row < Empty , open_close , Open , &p::open_drawer >, 171 a_row < Playing , open_close , Open , &p::stop_and_open >, 175 a_row < Paused , open_close , Open , &p::stop_and_open > 206 p.process_event(open_close()); pstate(p); in test() [all …]
|
D | SimpleTutorial.cpp | 27 struct open_close {}; struct 109 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 110 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 115 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 142 a_row < Stopped , open_close , Open , &p::open_drawer >, 145 a_row < Open , open_close , Empty , &p::close_drawer >, 147 a_row < Empty , open_close , Open , &p::open_drawer >, 153 a_row < Playing , open_close , Open , &p::stop_and_open >, 157 a_row < Paused , open_close , Open , &p::stop_and_open > 186 p.process_event(open_close()); pstate(p); in test() [all …]
|
D | SimpleTutorialEuml2.cpp | 32 BOOST_MSM_EUML_EVENT(open_close) in BOOST_MSM_EUML_EVENT() 71 Stopped + open_close / open_drawer == Open , 74 Open + open_close / close_drawer == Empty , 76 Empty + open_close / open_drawer == Open , 83 Playing + open_close / stop_and_open == Open , 87 Paused + open_close / stop_and_open == Open 120 p.process_event(open_close); pstate(p); in test() 121 p.process_event(open_close); pstate(p); in test()
|
D | Serialize.cpp | 26 struct open_close {}; struct 117 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 118 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 123 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 150 a_row < Stopped , open_close , Open , &p::open_drawer >, 153 a_row < Open , open_close , Empty , &p::close_drawer >, 155 a_row < Empty , open_close , Open , &p::open_drawer >, 161 a_row < Playing , open_close , Open , &p::stop_and_open >, 165 a_row < Paused , open_close , Open , &p::stop_and_open > 197 p.process_event(open_close()); pstate(p); in test() [all …]
|
D | SimpleTutorial2.cpp | 29 struct open_close {}; struct 70 void open_drawer(open_close const&) { std::cout << "Empty::open_drawer\n"; } in open_drawer() 85 void close_drawer(open_close const&) { std::cout << "Open::close_drawer\n"; } in close_drawer() 86 void stop_and_open(open_close const&) { std::cout << "Open::stop_and_open\n"; } in stop_and_open() 149 a_row2 < Stopped , open_close , Open , Empty , &Empty::open_drawer >, 152 a_row2 < Open , open_close , Empty , Open , &Open::close_drawer >, 154 a_row2 < Empty , open_close , Open , Empty ,&Empty::open_drawer >, 166 a_row2 < Playing , open_close , Open , Open ,&Open::stop_and_open >, 170 a_row2 < Paused , open_close , Open , Open ,&Open::stop_and_open > 199 p.process_event(open_close()); pstate(p); in test() [all …]
|
/third_party/boost/libs/mpl/example/fsm/ |
D | player1.cpp | 181 struct open_close {}; struct 208 void open_drawer(open_close const&); 209 void close_drawer(open_close const&); 214 void stop_and_open(open_close const&); 229 row < Stopped , open_close , Open , &p::open_drawer >, 231 row < Open , open_close , Empty , &p::close_drawer >, 233 row < Empty , open_close , Open , &p::open_drawer >, 238 row < Playing , open_close , Open , &p::stop_and_open >, 242 row < Paused , open_close , Open , &p::stop_and_open > 259 void player::open_drawer(open_close const&){} in open_drawer() [all …]
|
D | player2.cpp | 219 struct open_close {}; struct 247 void open_drawer(open_close const&) { std::cout << "player::open_drawer\n"; } in open_drawer() 248 void close_drawer(open_close const&) { std::cout << "player::close_drawer\n"; } in close_drawer() 253 void stop_and_open(open_close const&) { std::cout << "player::stop_and_open\n"; } in stop_and_open() 265 row < Stopped , open_close , Open , &p::open_drawer >, 267 row < Open , open_close , Empty , &p::close_drawer >, 269 row < Empty , open_close , Open , &p::open_drawer >, 274 row < Playing , open_close , Open , &p::stop_and_open >, 278 row < Paused , open_close , Open , &p::stop_and_open > 305 p.process_event(open_close()); pstate(p); in test() [all …]
|