# qwt_system_clock.h

    00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
    00002  * Qwt Widget Library
    00003  * Copyright (C) 1997   Josef Wilgen
    00004  * Copyright (C) 2002   Uwe Rathmann
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the Qwt License, Version 1.0
    00008  *****************************************************************************/
    00009
    00010 #ifndef QWT_SYSTEM_CLOCK_H
    00011 #define QWT_SYSTEM_CLOCK_H
    00012
    00013 #include "qwt_global.h"
    00014
    00030 class QWT_EXPORT QwtSystemClock
    00031 {
    00032 public:
    00033     QwtSystemClock();
    00034     virtual ~QwtSystemClock();
    00035
    00036     bool isNull() const;
    00037
    00038     void start();
    00039     double restart();
    00040     double elapsed() const;
    00041
    00042     static double precision();
    00043
    00044 private:
    00045     class PrivateData;
    00046     PrivateData *d_data;
    00047 };
    00048
    00049 #endif