22#include <kiwano/utils/Timer.h>
57 bool IsPausing()
const;
69 int GetTickedCount()
const;
73 int GetTotalTickCount()
const;
77 void SetTotalTickCount(
int count);
106 int total_tick_count_;
121 return ticked_count_;
126 return total_tick_count_;
131 total_tick_count_ = count;
141 interval_ = interval;
基础对象
Definition: ObjectBase.h:138
引用计数智能指针
Definition: RefBasePtr.hpp:35
报时器
Definition: Ticker.h:30
int GetTickedCount() const
获取报时器报时次数
Definition: Ticker.h:119
Duration GetInterval() const
获取报时间隔
Definition: Ticker.h:134
void SetInterval(Duration interval)
设置报时间隔
Definition: Ticker.h:139
int GetTotalTickCount() const
获取报时器总报时次数
Definition: Ticker.h:124
void SetTotalTickCount(int count)
设置报时器总报时次数
Definition: Ticker.h:129
bool IsPausing() const
获取暂停状态
Definition: Ticker.h:114
Duration GetErrorTime() const
获取时间误差
Definition: Ticker.h:144
时间段
Definition: Duration.h:48