All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Member Functions
qrk::StopWatch Class Reference

一時停止可能なタイマー More...

#include <StopWatch.h>

List of all members.

Public Member Functions

void start (void)
 計測開始
void stop (void)
 計測終了
void pause (void)
 計測の一時停止
void resume (void)
 一時停止の再開
int ticks (void)
 タイムスタンプの取得
bool isPause (void)
 一時停止しているかどうか
void setSpeedRatio (double ratio)

Detailed Description

一時停止可能なタイマー

Definition at line 19 of file StopWatch.h.


Member Function Documentation

void StopWatch::start ( void  )

計測開始

Definition at line 53 of file StopWatch.cpp.

void StopWatch::stop ( void  )

計測終了

ticks() の値をゼロに戻す

Definition at line 71 of file StopWatch.cpp.

void StopWatch::pause ( void  )

計測の一時停止

Definition at line 77 of file StopWatch.cpp.

void StopWatch::resume ( void  )

一時停止の再開

Definition at line 89 of file StopWatch.cpp.

int StopWatch::ticks ( void  )

タイムスタンプの取得

Return values:
タイムスタンプ[msec]

Definition at line 102 of file StopWatch.cpp.

bool StopWatch::isPause ( void  )

一時停止しているかどうか

Return values:
true停止中
false動作中

Definition at line 119 of file StopWatch.cpp.


The documentation for this class was generated from the following files: