PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/msm/front/common_states.hpp

http://hadesmem.googlecode.com/
C++ Header | 37 lines | 20 code | 6 blank | 11 comment | 0 complexity | 75d61f4c6a286932f0d93c4115eb97ed MD5 | raw file
 1// Copyright 2008 Christophe Henry
 2// henry UNDERSCORE christophe AT hotmail DOT com
 3// This is an extended version of the state machine available in the boost::mpl library
 4// Distributed under the same license as the original.
 5// Copyright for the original version:
 6// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
 7// under the Boost Software License, Version 1.0. (See accompanying
 8// file LICENSE_1_0.txt or copy at
 9// http://www.boost.org/LICENSE_1_0.txt)
10
11#ifndef BOOST_MSM_FRONT_COMMON_STATES_H
12#define BOOST_MSM_FRONT_COMMON_STATES_H
13
14#include <boost/mpl/int.hpp>
15#include <boost/mpl/vector.hpp>
16#include <boost/fusion/container/map.hpp>
17#include <boost/fusion/include/at_c.hpp>
18#include <boost/type_traits/add_const.hpp>
19#include <boost/msm/front/detail/common_states.hpp>
20
21namespace boost { namespace msm { namespace front
22{
23// default base: non-polymorphic, not visitable
24struct default_base_state 
25{
26    ~default_base_state(){}
27};
28// default polymorphic base state. Derive all states from it to get polymorphic behavior
29struct polymorphic_state
30{
31    virtual ~polymorphic_state() {}
32};
33
34}}}
35
36#endif //BOOST_MSM_FRONT_COMMON_STATES_H
37