22#include <kiwano/utils/Ticker.h>
23#include <kiwano/core/IntrusiveList.h>
92 bool IsRunning()
const;
96 bool IsRemoveable()
const;
104 void SetCallback(
const Callback& callback);
169 callback_ = callback;
侵入式链表元素
Definition: IntrusiveList.h:434
侵入式链表
Definition: IntrusiveList.h:34
基础对象
Definition: ObjectBase.h:138
引用计数智能指针
Definition: RefBasePtr.hpp:35
任务调度器
Definition: TaskScheduler.h:36
RefPtr< Ticker > GetTicker() const
获取任务的报时器
Definition: Task.h:145
void SetCallback(const Callback &callback)
设置任务回调函数
Definition: Task.h:167
void SetTicker(RefPtr< Ticker > ticker)
设置任务的报时器
Definition: Task.h:150
Callback GetCallback() const
获取任务回调函数
Definition: Task.h:162
bool IsRemoveable() const
任务是否可移除
Definition: Task.h:140
bool IsRunning() const
任务是否在运行
Definition: Task.h:135
void Remove()
移除任务
Definition: Task.h:130
时间段
Definition: Duration.h:48