QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QwtSystemClock Class Reference

QwtSystemClock provides high resolution clock time functions. More...

#include <qwt_system_clock.h>

Public Member Functions

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.
 

Detailed Description

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 )

Member Function Documentation

◆ elapsed()

double QwtSystemClock::elapsed ( ) const

Get elapsed time in multiples of milliseconds.

Returns
Elapsed time since the timer was started

◆ isNull()

bool QwtSystemClock::isNull ( ) const

Check if the elapsed timer is valid.

Returns
true if the timer is valid, false otherwise

◆ restart()

double QwtSystemClock::restart ( )

Restart the elapsed timer.

Returns
Elapsed time in multiples of milliseconds

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