2015-07-10 06:01:56 -07:00
|
|
|
/*
|
|
|
|
* @file signal_executir_sleep.h
|
|
|
|
|
|
|
|
* @date Oct 28, 2013
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SIGNAL_EXECUTOR_SLEEP_H_
|
|
|
|
#define SIGNAL_EXECUTOR_SLEEP_H_
|
|
|
|
|
2019-01-08 21:53:54 -08:00
|
|
|
#include "scheduler.h"
|
|
|
|
|
|
|
|
class SleepExecutor : public ExecutorInterface {
|
|
|
|
public:
|
2020-01-06 21:41:18 -08:00
|
|
|
void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, action_s action) override;
|
2020-01-09 12:45:13 -08:00
|
|
|
void scheduleByTimestampNt(scheduling_s *scheduling, efitick_t timeNt, action_s action) override;
|
2020-01-06 21:41:18 -08:00
|
|
|
void scheduleForLater(scheduling_s *scheduling, int delayUs, action_s action) override;
|
2019-01-08 21:53:54 -08:00
|
|
|
};
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
#endif /* SIGNAL_EXECUTOR_SLEEP_H_ */
|