diff --git a/example/fsm/aux_/STT_impl_gen.hpp b/example/fsm/aux_/STT_impl_gen.hpp index d6c0ccf..f84fdca 100644 --- a/example/fsm/aux_/STT_impl_gen.hpp +++ b/example/fsm/aux_/STT_impl_gen.hpp @@ -36,7 +36,7 @@ struct STT_void_row_impl { typedef typename Transition::from_state_t state_t; typedef typename Transition::fsm_t fsm_t; - typedef typename Transition::base_event_t base_event_t; + typedef typename Transition::base_event_t base_event_t; static long do_process_event(fsm_t&, long state, base_event_t const&) { @@ -61,7 +61,7 @@ struct STT_event_row_impl { typedef typename Transition::from_state_t state_t; typedef typename Transition::fsm_t fsm_t; - typedef typename Transition::base_event_t base_event_t; + typedef typename Transition::base_event_t base_event_t; static long do_process_event(fsm_t& fsm, long state, base_event_t const& evt) { @@ -89,7 +89,7 @@ struct STT_state_row_impl : PrevRowImpl { typedef typename PrevRowImpl::fsm_t fsm_t; - typedef typename PrevRowImpl::base_event_t base_event_t; + typedef typename PrevRowImpl::base_event_t base_event_t; static long do_transition(fsm_t& fsm, long state, base_event_t const& evt) { diff --git a/example/fsm/aux_/transition.hpp b/example/fsm/aux_/transition.hpp index cf7855f..e3a220f 100644 --- a/example/fsm/aux_/transition.hpp +++ b/example/fsm/aux_/transition.hpp @@ -34,11 +34,11 @@ template< struct transition { typedef T fsm_t; - typedef From from_state_t; + typedef From from_state_t; typedef Event event_t; - typedef To to_state_t; + typedef To to_state_t; - typedef typename Event::base_t base_event_t; + typedef typename Event::base_t base_event_t; static bool do_transition(T& x, base_event_t const& e) { assert(dynamic_cast(&e) == &e); diff --git a/example/fsm/state_machine.hpp b/example/fsm/state_machine.hpp index 9c58a9c..4233eaa 100644 --- a/example/fsm/state_machine.hpp +++ b/example/fsm/state_machine.hpp @@ -33,7 +33,7 @@ template< typename Derived > class state_machine { private: - typedef state_machine self_t; + typedef state_machine self_t; typedef aux::base_event base_event_t; typedef boost::shared_ptr base_event_ptr_t; @@ -82,7 +82,7 @@ class state_machine { } - virtual ~state_machine() + virtual ~state_machine() { } @@ -120,7 +120,7 @@ class state_machine void do_transition(base_event_t const& evt) { typedef typename Derived::transition_table STT_; - typedef typename aux::STT_impl_gen< STT_ >::type STT_impl_; + typedef typename aux::STT_impl_gen< STT_ >::type STT_impl_; m_state = STT_impl_::do_transition( static_cast(*this) @@ -129,7 +129,7 @@ class state_machine ); } - state_t m_state; + state_t m_state; std::queue< base_event_ptr_t > m_events_queue; };