Chris@16: // Copyright 2011 Christophe Henry Chris@16: // henry UNDERSCORE christophe AT hotmail DOT com Chris@16: // This is an extended version of the state machine available in the boost::mpl library Chris@16: // Distributed under the same license as the original. Chris@16: // Copyright for the original version: Chris@16: // Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed Chris@16: // under the Boost Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_MSM_FRONT_EUML_PHOENIX_PLACEHOLDERS_H Chris@16: #define BOOST_MSM_FRONT_EUML_PHOENIX_PLACEHOLDERS_H Chris@16: Chris@16: #include Chris@16: // provide some meaningful placeholders (instead of arg1...arg4) Chris@16: namespace boost { namespace msm { namespace front { namespace euml Chris@16: { Chris@16: boost::phoenix::expression::argument<1>::type const _event = {}; Chris@16: boost::phoenix::expression::argument<2>::type const _fsm = {}; Chris@16: boost::phoenix::expression::argument<3>::type const _source = {}; Chris@16: boost::phoenix::expression::argument<4>::type const _target = {}; Chris@16: // this is for state actions Chris@16: boost::phoenix::expression::argument<3>::type const _state = {}; Chris@16: }}}} Chris@16: Chris@16: #endif //BOOST_MSM_FRONT_EUML_PHOENIX_PLACEHOLDERS_H