My Project
null_exception_translator.hpp
Go to the documentation of this file.
1 #ifndef BOOST_STATECHART_NULL_EXCEPTION_TRANSLATOR_HPP_INCLUDED
2 #define BOOST_STATECHART_NULL_EXCEPTION_TRANSLATOR_HPP_INCLUDED
3 // Copyright 2002-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)
8 
9 
10 
12 
13 
14 
15 namespace boost
16 {
17 namespace statechart
18 {
19 
20 
21 
24 {
25  public:
27  // The following declarations should be private.
28  // They are only public because many compilers lack template friends.
30  template< class Action, class ExceptionEventHandler >
31  result operator()( Action action, ExceptionEventHandler )
32  {
33  return action();
34  }
35 };
36 
37 
38 
39 } // namespace statechart
40 } // namespace boost
41 
42 
43 
44 #endif
boost::statechart::detail::safe_reaction_result
Definition: result.hpp:38
boost
Definition: asynchronous_state_machine.hpp:20
boost::statechart::null_exception_translator::operator()
result operator()(Action action, ExceptionEventHandler)
Definition: null_exception_translator.hpp:31
boost::statechart::null_exception_translator
Definition: null_exception_translator.hpp:24
result.hpp