Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:48:14

0001 // Copyright 2008 Christophe Henry
0002 // henry UNDERSCORE christophe AT hotmail DOT com
0003 // This is an extended version of the state machine available in the boost::mpl library
0004 // Distributed under the same license as the original.
0005 // Copyright for the original version:
0006 // Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
0007 // under the Boost Software License, Version 1.0. (See accompanying
0008 // file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_MSM_FRONT_COMMON_STATES_H
0012 #define BOOST_MSM_FRONT_COMMON_STATES_H
0013 
0014 #include <boost/mpl/int.hpp>
0015 #include <boost/mpl/vector.hpp>
0016 #include <boost/fusion/container/map.hpp>
0017 #include <boost/fusion/include/at_c.hpp>
0018 #include <boost/type_traits/add_const.hpp>
0019 #include <boost/msm/front/detail/common_states.hpp>
0020 
0021 namespace boost { namespace msm { namespace front
0022 {
0023 // default base: non-polymorphic, not visitable
0024 struct default_base_state 
0025 {
0026     ~default_base_state(){}
0027 };
0028 // default polymorphic base state. Derive all states from it to get polymorphic behavior
0029 struct polymorphic_state
0030 {
0031     virtual ~polymorphic_state() {}
0032 };
0033 
0034 }}}
0035 
0036 #endif //BOOST_MSM_FRONT_COMMON_STATES_H
0037