Qwt User's Guide  6.0.2
qwt_system_clock.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
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 
30 class QWT_EXPORT QwtSystemClock
31 {
32 public:
34  virtual ~QwtSystemClock();
35 
36  bool isNull() const;
37 
38  void start();
39  double restart();
40  double elapsed() const;
41 
42  static double precision();
43 
44 private:
45  class PrivateData;
46  PrivateData *d_data;
47 };
48 
49 #endif