2015-07-10 06:01:56 -07:00
|
|
|
/*
|
|
|
|
* @file signal_executir_sleep.h
|
|
|
|
|
|
|
|
* @date Oct 28, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
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:
|
|
|
|
void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param);
|
2019-01-09 04:57:43 -08:00
|
|
|
void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param);
|
2019-01-08 21:53:54 -08:00
|
|
|
};
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
#endif /* SIGNAL_EXECUTOR_SLEEP_H_ */
|