fome-fw/firmware/controllers/scheduling/signal_executor_sleep.h

20 lines
522 B
C
Raw Normal View History

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_
#include "scheduler.h"
class SleepExecutor : public ExecutorInterface {
public:
void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback, void *param) override;
void scheduleForLater(scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param) override;
};
2015-07-10 06:01:56 -07:00
#endif /* SIGNAL_EXECUTOR_SLEEP_H_ */