1 //////////////////////////////////////////////////////////////////////////////
2 // Copyright 2005-2006 Andreas Huber Doenni
3 // Distributed under the Boost Software License, Version 1.0. (See accompany-
4 // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //////////////////////////////////////////////////////////////////////////////
9 #include <boost/statechart/state_machine.hpp>
10 #include <boost/statechart/simple_state.hpp>
11 #include <boost/statechart/deep_history.hpp>
13 #include <boost/mpl/list.hpp>
17 namespace sc
= boost::statechart
;
18 namespace mpl
= boost::mpl
;
23 struct UnsupportedDeepHistoryTest
: sc::state_machine
<
24 UnsupportedDeepHistoryTest
, A
> {};
27 struct A
: sc::simple_state
<
28 A
, UnsupportedDeepHistoryTest
, B
, sc::has_deep_history
> {};
32 struct B
: sc::simple_state
< B
, A
, mpl::list
< C
, D
> > {};
34 struct C
: sc::simple_state
< C
, B::orthogonal
< 0 > > {};
35 struct D
: sc::simple_state
< D
, B::orthogonal
< 1 > > {};
40 UnsupportedDeepHistoryTest machine
;