Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/statechart/test/TuTest.hpp @ 45

Last change on this file since 45 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 1.2 KB
Line 
1#ifndef BOOST_STATECHART_TEST_TU_TEST_HPP_INCLUDED
2#define BOOST_STATECHART_TEST_TU_TEST_HPP_INCLUDED
3//////////////////////////////////////////////////////////////////////////////
4// Copyright 2005-2006 Andreas Huber Doenni
5// Distributed under the Boost Software License, Version 1.0. (See accompany-
6// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7//////////////////////////////////////////////////////////////////////////////
8
9
10
11#include <boost/statechart/event.hpp>
12#include <boost/statechart/state_machine.hpp>
13
14#include <boost/config.hpp>
15
16#ifdef BOOST_HAS_DECLSPEC
17  #ifdef BOOST_STATECHART_TEST_DYNAMIC_LINK
18    #ifdef BOOST_STATECHART_TEST_DLL_EXPORT
19      #define BOOST_STATECHART_DECL __declspec(dllexport)
20    #else
21      #define BOOST_STATECHART_DECL __declspec(dllimport)
22    #endif
23  #endif
24#endif
25
26#ifndef BOOST_STATECHART_DECL
27  #define BOOST_STATECHART_DECL
28#endif
29
30
31
32namespace sc = boost::statechart;
33
34
35
36struct BOOST_STATECHART_DECL EvX : sc::event< EvX > {};
37struct BOOST_STATECHART_DECL EvY : sc::event< EvY > {};
38
39struct Initial;
40struct BOOST_STATECHART_DECL TuTest : sc::state_machine< TuTest, Initial >
41{
42  void initiate();
43  void unconsumed_event( const sc::event_base & );
44};
45
46
47
48#endif
Note: See TracBrowser for help on using the repository browser.