state_interface.h 261 B

12345678910111213141516
  1. #ifndef _STATE_INTERFACE_H_
  2. #define _STATE_INTERFACE_H_
  3. #include "data_structures/state_tx.h"
  4. class IState
  5. {
  6. public:
  7. virtual void begin() = 0;
  8. virtual StateTx loop(int64_t duration) = 0;
  9. virtual void end() = 0;
  10. };
  11. #endif // _STATE_INTERFACE_H_