18 lines
497 B
C++
18 lines
497 B
C++
/*
|
|
* @file signal_executir_sleep.h
|
|
|
|
* @date Oct 28, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "scheduler.h"
|
|
|
|
class SleepExecutor : public ExecutorInterface {
|
|
public:
|
|
void scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, action_s action) override;
|
|
void scheduleByTimestampNt(scheduling_s *scheduling, efitick_t timeNt, action_s action) override;
|
|
void scheduleForLater(scheduling_s *scheduling, int delayUs, action_s action) override;
|
|
};
|