Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-17 08:50:47

0001 // Copyright 2025 Christian Granzin
0002 // Copyright 2008 Christophe Henry
0003 // henry UNDERSCORE christophe AT hotmail DOT com
0004 // This is an extended version of the state machine available in the boost::mpl library
0005 // Distributed under the same license as the original.
0006 // Copyright for the original version:
0007 // Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
0008 // under the Boost Software License, Version 1.0. (See accompanying
0009 // file LICENSE_1_0.txt or copy at
0010 // http://www.boost.org/LICENSE_1_0.txt)
0011 
0012 #ifndef BOOST_MSM_FRONT_HISTORY_POLICIES_H
0013 #define BOOST_MSM_FRONT_HISTORY_POLICIES_H
0014 
0015 namespace boost { namespace msm { namespace front
0016 {
0017 
0018 // Configurable history policies for state machine definitions
0019 // (only used by backmp11).
0020 
0021 // No history (default).
0022 struct no_history {};
0023 
0024 // Shallow history.
0025 // For deep history use this policy for all the contained state machines.
0026 template <typename... Events>
0027 struct shallow_history {};
0028 
0029 // Shallow history for all events (not UML conform).
0030 // For deep history use this policy for all the contained state machines.
0031 struct always_shallow_history {};
0032 
0033 }}} // boost::msm::front
0034 
0035 #endif //BOOST_MSM_FRONT_HISTORY_POLICIES_H