msectimer.h
来自「c+++ game uploading now」· C头文件 代码 · 共 36 行
H
36 行
/**
@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 + =
减小字号Ctrl + -
显示快捷键?