Searched refs:state_downcast (Results 1 – 6 of 6) sorted by relevance
126 BOOST_REQUIRE_THROW( pM->state_downcast< const B & >(), std::bad_cast ); in test_main()128 BOOST_REQUIRE_THROW( pM->state_downcast< const D & >(), std::bad_cast ); in test_main()130 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const B & >() ); in test_main()134 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const D & >() ); in test_main()136 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const D & >() ); in test_main()139 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const I & >() ); in test_main()142 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const F & >() ); in test_main()145 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const H & >() ); in test_main()148 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const F & >() ); in test_main()151 BOOST_REQUIRE_NO_THROW( pM->state_downcast< const F & >() ); in test_main()[all …]
38 BOOST_REQUIRE( state_downcast< const State * >() != 0 ); in AssertInState()39 BOOST_REQUIRE_NO_THROW( state_downcast< const State & >() ); in AssertInState()47 BOOST_REQUIRE( state_downcast< const State * >() == 0 ); in AssertNotInState()48 BOOST_REQUIRE_THROW( state_downcast< const State & >(), std::bad_cast ); in AssertNotInState()57 BOOST_REQUIRE( theState.template state_downcast< const State * >() != 0 ); in AssertInState()58 BOOST_REQUIRE_NO_THROW( theState.template state_downcast< const State & >() ); in AssertInState()66 BOOST_REQUIRE( theState.template state_downcast< const State * >() == 0 ); in AssertNotInState()67 BOOST_REQUIRE_THROW( theState.template state_downcast< const State & >(), std::bad_cast ); in AssertNotInState()
76 machine.state_downcast< const A & >().eventCount_ == aCount ); in RequireEventCounts()78 machine.state_downcast< const B & >().eventCount_ == bCount ); in RequireEventCounts()
93 if ( ( state_downcast< const NumLockOff * >() != 0 ) && in react()94 ( state_downcast< const CapsLockOff * >() != 0 ) && in react()95 ( state_downcast< const ScrollLockOff * >() != 0 ) ) in react()
263 Target state_downcast() const in state_downcast() function in boost::statechart::simple_state265 return outermost_context_base().template state_downcast< Target >(); in state_downcast()
326 Target state_downcast() const in state_downcast() function in boost::statechart::state_machine