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
CaseFSM/CaseState.cpp
- Committer:
- suads
- Date:
- 2017-11-09
- Revision:
- 0:79959cf2cc3e
File content as of revision 0:79959cf2cc3e:
#include <CaseFsm.h> #include <CaseState.h> CaseState::CaseState(CaseFsmStates& states,Timer& timer): states_(states),stateTimer_(timer){} CaseState* CaseState::handle(SwitchPosition& event) { return states_.currentState(); } CaseState* CaseState::handle(RFIDEvent& event) { return states_.currentState(); } CaseState* CaseState::handle(TimerEnd& event) { return states_.currentState(); }