QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
QwtSystemClock类 参考

QwtSystemClock provides high resolution clock time functions. 更多...

#include <qwt_system_clock.h>

Public 成员函数

bool isNull () const
 Check if the elapsed timer is valid
 
void start ()
 Start the elapsed timer
 
double restart ()
 Restart the elapsed timer
 
double elapsed () const
 Get elapsed time in multiples of milliseconds
 

详细描述

QwtSystemClock provides high resolution clock time functions.

Precision and time intervals are multiples of milliseconds (ms).

( QwtSystemClock is deprecated as QElapsedTimer offers the same precision )

成员函数说明

◆ elapsed()

double QwtSystemClock::elapsed ( ) const

Get elapsed time in multiples of milliseconds

返回
Elapsed time since the timer was started

◆ isNull()

bool QwtSystemClock::isNull ( ) const

Check if the elapsed timer is valid

返回
true if the timer is valid, false otherwise

◆ restart()

double QwtSystemClock::restart ( )

Restart the elapsed timer

返回
Elapsed time in multiples of milliseconds

该类的文档由以下文件生成: