merge new MPL version from 'mplbook' branch
[SVN r24874]
This commit is contained in:
1 parent
e2e70427cc
commit
1689c8ef83
1216 files changed
+89913
-36752
No files matched your search
@@ -1,28 +1,28 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/handler.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_HANDLER_INCLUDED
|
||||
#define BOOST_FSM_HANDLER_INCLUDED
|
||||
|
||||
#include "boost/mpl/if.hpp"
|
||||
#include "boost/mpl/fold.hpp"
|
||||
#include "boost/mpl/front.hpp"
|
||||
#include "boost/type_traits/is_same.hpp"
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/fold.hpp>
|
||||
#include <boost/mpl/front.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
|
||||
#include <typeinfo>
|
||||
#include <cassert>
|
||||
|
||||
namespace fsm {
|
||||
namespace aux {
|
||||
namespace fsm { namespace aux {
|
||||
|
||||
namespace mpl = boost::mpl;
|
||||
using namespace mpl::placeholders;
|
||||
@@ -140,7 +140,6 @@ struct STT_impl_gen
|
||||
> type;
|
||||
};
|
||||
|
||||
} // namespace aux
|
||||
} // namespace fsm
|
||||
}}
|
||||
|
||||
#endif // BOOST_FSM_HANDLER_INCLUDED
|
||||
@@ -1,22 +1,22 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/base_event.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_BASE_EVENT_INCLUDED
|
||||
#define BOOST_FSM_BASE_EVENT_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace fsm {
|
||||
namespace aux {
|
||||
namespace fsm { namespace aux {
|
||||
|
||||
// represent an abstract base for FSM events
|
||||
|
||||
@@ -34,7 +34,6 @@ struct base_event
|
||||
virtual std::auto_ptr<base_event> do_clone() const = 0;
|
||||
};
|
||||
|
||||
} // namespace aux
|
||||
} // namespace fsm
|
||||
}}
|
||||
|
||||
#endif // BOOST_FSM_BASE_EVENT_INCLUDED
|
||||
+14
-15
@@ -1,22 +1,22 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/event.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_EVENT_INCLUDED
|
||||
#define BOOST_FSM_EVENT_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include "base_event.hpp"
|
||||
|
||||
namespace fsm {
|
||||
namespace aux {
|
||||
namespace fsm { namespace aux {
|
||||
|
||||
template< typename Derived >
|
||||
struct event
|
||||
@@ -34,7 +34,6 @@ struct event
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace aux
|
||||
} // namespace fsm
|
||||
}}
|
||||
|
||||
#endif // BOOST_FSM_EVENT_INCLUDED
|
||||
+15
-16
@@ -1,22 +1,22 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/state.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_STATE_INCLUDED
|
||||
#define BOOST_FSM_STATE_INCLUDED
|
||||
|
||||
#include "boost/mpl/integral_c.hpp"
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
namespace fsm {
|
||||
namespace aux {
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/integral_c.hpp>
|
||||
|
||||
namespace fsm { namespace aux {
|
||||
|
||||
namespace mpl = boost::mpl;
|
||||
|
||||
@@ -37,7 +37,6 @@ struct state
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace aux
|
||||
} // namespace fsm
|
||||
}}
|
||||
|
||||
#endif // BOOST_FSM_STATE_INCLUDED
|
||||
@@ -1,22 +1,22 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/transition.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_TRANSITION_INCLUDED
|
||||
#define BOOST_FSM_TRANSITION_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace fsm {
|
||||
namespace aux {
|
||||
namespace fsm { namespace aux {
|
||||
|
||||
// represent a signle transition between states |From| and |To|
|
||||
|
||||
@@ -42,7 +42,6 @@ struct transition
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace aux
|
||||
} // namespace fsm
|
||||
}}
|
||||
|
||||
#endif // BOOST_FSM_TRANSITION_INCLUDED
|
||||
+11
-10
@@ -1,17 +1,18 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/example/player.cpp source file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include "state_machine.hpp"
|
||||
#include "boost/mpl/list.hpp"
|
||||
#include <boost/mpl/list.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -1,23 +1,24 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// boost fsm/state_machine.hpp header file
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright (c) 2002
|
||||
// Aleksey Gurtovoy
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_FSM_STATE_MACHINE_INCLUDED
|
||||
#define BOOST_FSM_STATE_MACHINE_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2002-2004
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/mpl for documentation.
|
||||
|
||||
// $Source$
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include "aux_/event.hpp"
|
||||
#include "aux_/state.hpp"
|
||||
#include "aux_/transition.hpp"
|
||||
#include "aux_/STT_impl_gen.hpp"
|
||||
#include "boost/shared_ptr.hpp"
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include <queue>
|
||||
#include <memory>
|
||||
|
||||
Reference in new issue
Block a user