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 KOPIRANO_cell_locker by
MotionFSM/include/State.h
- Committer:
- suads
- Date:
- 2017-11-13
- Revision:
- 2:aabc92901e25
- Parent:
- 1:75966605a6a3
File content as of revision 2:aabc92901e25:
#ifndef FSM_STATE_H_
#define FSM_STATE_H_
#include "mbed.h"
struct Stop;
struct Move;
class FsmStates;
class State {
public:
State(FsmStates& state, Timer& timer);
virtual State* handle(Stop& event);
virtual State* handle(Move& event);
virtual ~State() {}
protected:
FsmStates& states_;
Timer& stateTimer_;
};
#endif /* ifndef FSM_STATE_H_ */
