Blame libs/statechart/example/Camera/Configuring.hpp
|
Packit |
58578d |
#ifndef BOOST_STATECHART_EXAMPLE_CONFIGURING_HPP_INCLUDED
|
|
Packit |
58578d |
#define BOOST_STATECHART_EXAMPLE_CONFIGURING_HPP_INCLUDED
|
|
Packit |
58578d |
//////////////////////////////////////////////////////////////////////////////
|
|
Packit |
58578d |
// Copyright 2002-2006 Andreas Huber Doenni
|
|
Packit |
58578d |
// Distributed under the Boost Software License, Version 1.0. (See accompany-
|
|
Packit |
58578d |
// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
Packit |
58578d |
//////////////////////////////////////////////////////////////////////////////
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
#include "Camera.hpp"
|
|
Packit |
58578d |
|
|
Packit |
58578d |
#include <boost/statechart/simple_state.hpp>
|
|
Packit |
58578d |
#include <boost/statechart/transition.hpp>
|
|
Packit |
58578d |
|
|
Packit |
58578d |
#include <boost/config.hpp>
|
|
Packit |
58578d |
|
|
Packit |
58578d |
#ifdef BOOST_INTEL
|
|
Packit |
58578d |
# pragma warning( disable: 304 ) // access control not specified
|
|
Packit |
58578d |
#endif
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
namespace sc = boost::statechart;
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
//////////////////////////////////////////////////////////////////////////////
|
|
Packit |
58578d |
struct Configuring : sc::simple_state< Configuring, NotShooting >
|
|
Packit |
58578d |
{
|
|
Packit |
58578d |
typedef sc::transition< EvConfig, Idle > reactions;
|
|
Packit |
58578d |
|
|
Packit |
58578d |
Configuring();
|
|
Packit |
58578d |
~Configuring();
|
|
Packit |
58578d |
};
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
|
|
Packit |
58578d |
#endif
|