From ab6323583620d0abd29741fa5892a38a16e22157 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 13 Dec 2022 18:28:11 +0800 Subject: [PATCH] 1 --- a8/xtimer.cc | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/a8/xtimer.cc b/a8/xtimer.cc index e5355ee..873fce3 100644 --- a/a8/xtimer.cc +++ b/a8/xtimer.cc @@ -502,4 +502,79 @@ namespace a8 base->running_timer = nullptr; } + void XTimer::SetTimeout(int time, TimerCb cb) + { + + } + + void XTimer::SetTimeoutEx(int time, TimerCb cb, Attacher* attacher) + { + + } + + XTimerWp XTimer::SetTimeoutWp(int time, TimerCb cb) + { + + } + + XTimerWp XTimer::SetTimeoutWpEx(int time, TimerCb cb, Attacher* attacher) + { + + } + + void XTimer::SetInterval(int time, a8::TimerCb cb) + { + + } + + void XTimer::SetIntervalEx(int time, a8::TimerCb cb, Attacher* attacher) + { + + } + + XTimerWp XTimer::SetIntervalWp(int time, TimerCb cb) + { + + } + + XTimerWp XTimer::SetIntervalWpEx(int time, TimerCb cb, Attacher* attacher) + { + + } + + void XTimer::FireEvent(XTimerWp& timer_wp, a8::Args& args) + { + + } + + void XTimer::ModifyTime(XTimerWp& timer_wp, int expire_time) + { + + } + + void XTimer::Delete(XTimerWp& timer_wp) + { + + } + + long long XTimer::GetRemainTime(XTimerWp& timer_wp) + { + + } + + bool XTimer::IsRunning() + { + + } + + void XTimer::ClearAttacher(Attacher* attacher) + { + + } + + void XTimer::DestoryAttacher(Attacher* attacher) + { + + } + }