Searched refs:state_cast (Results 1 – 8 of 8) sorted by relevance
40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
834 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()836 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()839 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()842 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()845 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
174 stopWatch.state_cast< const IElapsedTime & >().ElapsedTime() << "\n"; in main()
163 bitMachine.state_cast< const IDisplay & >().Display(); in DisplayMachineState()
257 Target state_cast() const in state_cast() function in boost::statechart::simple_state259 return outermost_context_base().template state_cast< Target >(); in state_cast()
284 Target state_cast() const in state_cast() function in boost::statechart::state_machine