Public Member Functions | Private Attributes | List of all members
QwtSystemClock Class Reference

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

#include <qwt_system_clock.h>

Public Member Functions

double elapsed () const
 
bool isNull () const
 
double restart ()
 
void start ()
 Start the elapsed timer. More...
 

Private Attributes

QElapsedTimer m_timer
 

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 )

Definition at line 24 of file qwt_system_clock.h.

Member Function Documentation

◆ elapsed()

double QwtSystemClock::elapsed ( ) const
Returns
elapsed time in multiples of milliseconds

Definition at line 36 of file qwt_system_clock.cpp.

◆ isNull()

bool QwtSystemClock::isNull ( ) const
Returns
true, if the elapsed timer is valid

Definition at line 14 of file qwt_system_clock.cpp.

◆ restart()

double QwtSystemClock::restart ( )

Restart the elapsed timer

Returns
elapsed time in multiples of milliseconds

Definition at line 29 of file qwt_system_clock.cpp.

◆ start()

void QwtSystemClock::start ( )

Start the elapsed timer.

Definition at line 20 of file qwt_system_clock.cpp.

Member Data Documentation

◆ m_timer

QElapsedTimer QwtSystemClock::m_timer
private

Definition at line 41 of file qwt_system_clock.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51