init

Dependencies:   MPU6050 PinDetect circular_buffer

MotionFSM/include/State.h

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

File content as of revision 0:b416214256cd:

#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_ */