Suad Suljic / Mbed OS Cell_lockker

Dependencies:   MPU6050_SIM5320_TEST

Revision:
0:79959cf2cc3e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CaseFSM/include/CaseState.h	Thu Nov 09 15:00:04 2017 +0000
@@ -0,0 +1,21 @@
+#ifndef CASEFSM_STATE_H_
+#define CASEFSM_STATE_H_
+#include "mbed.h"
+struct SwitchPosition;
+struct RFIDEvent;
+struct TimerEnd;
+class CaseFsmStates;
+
+class CaseState {
+  public:
+  CaseState(CaseFsmStates& state, Timer& timer);
+  virtual CaseState* handle(SwitchPosition& event);
+  virtual CaseState* handle(RFIDEvent& event);
+  virtual CaseState* handle(TimerEnd& event);
+  virtual ~CaseState() {}
+
+  protected:
+  CaseFsmStates& states_;
+  Timer& stateTimer_;
+};
+#endif /* ifndef CASEFSM_STATE_H_ */