Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
CaseState.h
00001 #ifndef CASEFSM_STATE_H_ 00002 #define CASEFSM_STATE_H_ 00003 #include "mbed.h" 00004 struct SwitchPosition; 00005 struct RFIDEvent; 00006 struct TimerEnd; 00007 class CaseFsmStates; 00008 00009 class CaseState { 00010 public: 00011 CaseState(CaseFsmStates& state, Timer& timer); 00012 virtual CaseState* handle(SwitchPosition& event); 00013 virtual CaseState* handle(RFIDEvent& event); 00014 virtual CaseState* handle(TimerEnd& event); 00015 virtual ~CaseState() {} 00016 00017 protected: 00018 CaseFsmStates& states_; 00019 Timer& stateTimer_; 00020 }; 00021 #endif /* ifndef CASEFSM_STATE_H_ */
Generated on Tue Jul 12 2022 19:25:17 by
1.7.2
