|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62561 - trunk/libs/msm/test
From: christophe.j.henry_at_[hidden]
Date: 2010-06-08 07:26:30
Author: chenry
Date: 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
New Revision: 62561
URL: http://svn.boost.org/trac/boost/changeset/62561
Log:
fixed compile error
Text files modified:
trunk/libs/msm/test/Anonymous.cpp | 16 +++++++-------
trunk/libs/msm/test/CompositeMachine.cpp | 32 ++++++++++++++--------------
trunk/libs/msm/test/Constructor.cpp | 20 +++++++++---------
trunk/libs/msm/test/History.cpp | 32 ++++++++++++++--------------
trunk/libs/msm/test/OrthogonalDeferred.cpp | 44 ++++++++++++++++++++--------------------
trunk/libs/msm/test/OrthogonalDeferred2.cpp | 44 ++++++++++++++++++++--------------------
trunk/libs/msm/test/SimpleInternal.cpp | 20 +++++++++---------
trunk/libs/msm/test/SimpleInternalFunctors.cpp | 24 ++++++++++----------
trunk/libs/msm/test/SimpleMachine.cpp | 20 +++++++++---------
trunk/libs/msm/test/SimpleWithFunctors.cpp | 20 +++++++++---------
10 files changed, 136 insertions(+), 136 deletions(-)
Modified: trunk/libs/msm/test/Anonymous.cpp
==============================================================================
--- trunk/libs/msm/test/Anonymous.cpp (original)
+++ trunk/libs/msm/test/Anonymous.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -124,14 +124,14 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<my_machine_::State1&>().entry_counter=0;
- fsm.get_state<my_machine_::State1&>().exit_counter=0;
- fsm.get_state<my_machine_::State2&>().entry_counter=0;
- fsm.get_state<my_machine_::State2&>().exit_counter=0;
- fsm.get_state<my_machine_::State3&>().entry_counter=0;
- fsm.get_state<my_machine_::State3&>().exit_counter=0;
- fsm.get_state<my_machine_::State4&>().entry_counter=0;
- fsm.get_state<my_machine_::State4&>().exit_counter=0;
+ fsm.template get_state<my_machine_::State1&>().entry_counter=0;
+ fsm.template get_state<my_machine_::State1&>().exit_counter=0;
+ fsm.template get_state<my_machine_::State2&>().entry_counter=0;
+ fsm.template get_state<my_machine_::State2&>().exit_counter=0;
+ fsm.template get_state<my_machine_::State3&>().entry_counter=0;
+ fsm.template get_state<my_machine_::State3&>().exit_counter=0;
+ fsm.template get_state<my_machine_::State4&>().entry_counter=0;
+ fsm.template get_state<my_machine_::State4&>().exit_counter=0;
}
};
// Pick a back-end
Modified: trunk/libs/msm/test/CompositeMachine.cpp
==============================================================================
--- trunk/libs/msm/test/CompositeMachine.cpp (original)
+++ trunk/libs/msm/test/CompositeMachine.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -216,22 +216,22 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Modified: trunk/libs/msm/test/Constructor.cpp
==============================================================================
--- trunk/libs/msm/test/Constructor.cpp (original)
+++ trunk/libs/msm/test/Constructor.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -173,16 +173,16 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
fsm.context_ = 20;
}
Modified: trunk/libs/msm/test/History.cpp
==============================================================================
--- trunk/libs/msm/test/History.cpp (original)
+++ trunk/libs/msm/test/History.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -216,22 +216,22 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Modified: trunk/libs/msm/test/OrthogonalDeferred.cpp
==============================================================================
--- trunk/libs/msm/test/OrthogonalDeferred.cpp (original)
+++ trunk/libs/msm/test/OrthogonalDeferred.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -281,28 +281,28 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
- fsm.get_state<player_::AllOk&>().entry_counter=0;
- fsm.get_state<player_::AllOk&>().exit_counter=0;
- fsm.get_state<player_::ErrorMode&>().entry_counter=0;
- fsm.get_state<player_::ErrorMode&>().exit_counter=0;
- fsm.get_state<player_::ErrorTerminate&>().entry_counter=0;
- fsm.get_state<player_::ErrorTerminate&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::AllOk&>().entry_counter=0;
+ fsm.template get_state<player_::AllOk&>().exit_counter=0;
+ fsm.template get_state<player_::ErrorMode&>().entry_counter=0;
+ fsm.template get_state<player_::ErrorMode&>().exit_counter=0;
+ fsm.template get_state<player_::ErrorTerminate&>().entry_counter=0;
+ fsm.template get_state<player_::ErrorTerminate&>().exit_counter=0;
}
};
// Pick a back-end
Modified: trunk/libs/msm/test/OrthogonalDeferred2.cpp
==============================================================================
--- trunk/libs/msm/test/OrthogonalDeferred2.cpp (original)
+++ trunk/libs/msm/test/OrthogonalDeferred2.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -288,28 +288,28 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song1&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song2&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().get_state<player_::Playing::Song3&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
- fsm.get_state<player_::AllOk&>().entry_counter=0;
- fsm.get_state<player_::AllOk&>().exit_counter=0;
- fsm.get_state<player_::ErrorMode&>().entry_counter=0;
- fsm.get_state<player_::ErrorMode&>().exit_counter=0;
- fsm.get_state<player_::ErrorTerminate&>().entry_counter=0;
- fsm.get_state<player_::ErrorTerminate&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song1&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song2&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().template get_state<player_::Playing::Song3&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::AllOk&>().entry_counter=0;
+ fsm.template get_state<player_::AllOk&>().exit_counter=0;
+ fsm.template get_state<player_::ErrorMode&>().entry_counter=0;
+ fsm.template get_state<player_::ErrorMode&>().exit_counter=0;
+ fsm.template get_state<player_::ErrorTerminate&>().entry_counter=0;
+ fsm.template get_state<player_::ErrorTerminate&>().exit_counter=0;
}
};
// Pick a back-end
Modified: trunk/libs/msm/test/SimpleInternal.cpp
==============================================================================
--- trunk/libs/msm/test/SimpleInternal.cpp (original)
+++ trunk/libs/msm/test/SimpleInternal.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -182,16 +182,16 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Modified: trunk/libs/msm/test/SimpleInternalFunctors.cpp
==============================================================================
--- trunk/libs/msm/test/SimpleInternalFunctors.cpp (original)
+++ trunk/libs/msm/test/SimpleInternalFunctors.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -235,18 +235,18 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().empty_internal_guard_counter=0;
- fsm.get_state<player_::Empty&>().empty_internal_action_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().empty_internal_guard_counter=0;
+ fsm.template get_state<player_::Empty&>().empty_internal_action_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Modified: trunk/libs/msm/test/SimpleMachine.cpp
==============================================================================
--- trunk/libs/msm/test/SimpleMachine.cpp (original)
+++ trunk/libs/msm/test/SimpleMachine.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -170,16 +170,16 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Modified: trunk/libs/msm/test/SimpleWithFunctors.cpp
==============================================================================
--- trunk/libs/msm/test/SimpleWithFunctors.cpp (original)
+++ trunk/libs/msm/test/SimpleWithFunctors.cpp 2010-06-08 07:26:29 EDT (Tue, 08 Jun 2010)
@@ -276,16 +276,16 @@
template <class Event,class FSM>
void on_entry(Event const&,FSM& fsm)
{
- fsm.get_state<player_::Stopped&>().entry_counter=0;
- fsm.get_state<player_::Stopped&>().exit_counter=0;
- fsm.get_state<player_::Open&>().entry_counter=0;
- fsm.get_state<player_::Open&>().exit_counter=0;
- fsm.get_state<player_::Empty&>().entry_counter=0;
- fsm.get_state<player_::Empty&>().exit_counter=0;
- fsm.get_state<player_::Playing&>().entry_counter=0;
- fsm.get_state<player_::Playing&>().exit_counter=0;
- fsm.get_state<player_::Paused&>().entry_counter=0;
- fsm.get_state<player_::Paused&>().exit_counter=0;
+ fsm.template get_state<player_::Stopped&>().entry_counter=0;
+ fsm.template get_state<player_::Stopped&>().exit_counter=0;
+ fsm.template get_state<player_::Open&>().entry_counter=0;
+ fsm.template get_state<player_::Open&>().exit_counter=0;
+ fsm.template get_state<player_::Empty&>().entry_counter=0;
+ fsm.template get_state<player_::Empty&>().exit_counter=0;
+ fsm.template get_state<player_::Playing&>().entry_counter=0;
+ fsm.template get_state<player_::Playing&>().exit_counter=0;
+ fsm.template get_state<player_::Paused&>().entry_counter=0;
+ fsm.template get_state<player_::Paused&>().exit_counter=0;
}
};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk