Qwt User's Guide 6.2.0

qwt_system_clock.h
1 /******************************************************************************
2 * Qwt Widget Library
3 * Copyright (C) 1997 Josef Wilgen
4 * Copyright (C) 2002 Uwe Rathmann
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the Qwt License, Version 1.0
8 *****************************************************************************/
9
10 #ifndef QWT_SYSTEM_CLOCK_H
11 #define QWT_SYSTEM_CLOCK_H
12
13 #include "qwt_global.h"
14 #include <qelapsedtimer.h>
15
24 class QWT_EXPORT QwtSystemClock
25 {
26 public:
27 bool isNull() const;
28
29 void start();
30 double restart();
31 double elapsed() const;
32
33 private:
34 QElapsedTimer m_timer;
35 };
36
37 #endif
QwtSystemClock
QwtSystemClock provides high resolution clock time functions.
Definition: qwt_system_clock.h:25