📄 msectimer.h
字号:
/**
@file
Interface of the Othello::MSecTimer class.
*/
#if !defined _MSECTIMER_H_
#define _MSECTIMER_H_
#include "../lib/HighResolutionTimer.h"
namespace Othello
{
/**
MSecTimer class, provides time services in milliseconds */
class MSecTimer
{
public:
/**
constructor, starts a stopper clock
@exception throws Win::Exception upon failure */
explicit MSecTimer();
/**
reads the stopper clock */
unsigned int Time();
/**
resets the stopper clock */
void ReInit();
private:
/** internal timer object */
Win::HighResolutionTimer _htimer;
};
}
#endif //_MSECTIMER_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -