2 #ifndef BOOST_FSM_BASE_EVENT_INCLUDED
3 #define BOOST_FSM_BASE_EVENT_INCLUDED
5 // Copyright Aleksey Gurtovoy 2002-2004
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
18 #include <boost/config.hpp>
20 namespace fsm { namespace aux {
22 // represent an abstract base for FSM events
27 virtual ~base_event() {};
29 #if defined(BOOST_NO_CXX11_SMART_PTR)
31 std::auto_ptr<base_event> clone() const
35 std::unique_ptr<base_event> clone() const
45 #if defined(BOOST_NO_CXX11_SMART_PTR)
47 virtual std::auto_ptr<base_event> do_clone() const = 0;
51 virtual std::unique_ptr<base_event> do_clone() const = 0;
59 #endif // BOOST_FSM_BASE_EVENT_INCLUDED