init

Dependencies:   MPU6050 PinDetect circular_buffer

CaseFSM/CaseState.cpp

Committer:
OsmanKameric
Date:
2017-11-07
Revision:
0:b416214256cd

File content as of revision 0:b416214256cd:

#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(); }