- removed IStateMachine.hpp

git-svn-id: http://moon:8086/svn/software/trunk/projects/FsmEval@135 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2015-01-24 12:07:40 +00:00
parent 251ac211bd
commit 0d8badfef1
5 changed files with 32 additions and 60 deletions
+3 -4
View File
@@ -8,8 +8,7 @@
#ifndef ASTATE_HPP
#define ASTATE_HPP
#include "IStateMachine.hpp"
template <class IdType> class AStateMachine;
template <class IdType>
class AState
{
@@ -29,7 +28,7 @@ public:
return m_id;
}
void registerStateMachine(IStateMachine *pStateMachine)
void registerStateMachine(AStateMachine<IdType> *pStateMachine)
{
m_pStateMachine = pStateMachine;
}
@@ -48,7 +47,7 @@ protected:
}
}
private:
IStateMachine *m_pStateMachine;
AStateMachine<IdType> *m_pStateMachine;
IdType m_id;
};