Home
last modified time | relevance | path

Searched refs:state_cast (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/statechart/test/
DStateCastTest.cpp40 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()
DDeferralTest.cpp158 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()
DDeferralBug.cpp75 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()
DTransitionTest.cpp834 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()
/third_party/boost/libs/statechart/example/StopWatch/
DStopWatch.cpp174 stopWatch.state_cast< const IElapsedTime & >().ElapsedTime() << "\n"; in main()
/third_party/boost/libs/statechart/example/BitMachine/
DBitMachine.cpp163 bitMachine.state_cast< const IDisplay & >().Display(); in DisplayMachineState()
/third_party/boost/boost/statechart/
Dsimple_state.hpp257 Target state_cast() const in state_cast() function in boost::statechart::simple_state
259 return outermost_context_base().template state_cast< Target >(); in state_cast()
Dstate_machine.hpp284 Target state_cast() const in state_cast() function in boost::statechart::state_machine