Go to the documentation of this file.
10#include <QtCore/QObject>
11#include <QtCore/QElapsedTimer>
32 virtual void Start(
double elapsedTime = 0);
36 virtual void WaitTo(
double time)
const;
40 QElapsedTimer m_timer;
A general time stamp implementation.
virtual void WaitTo(double time) const
Wait for specific timer elapsed value is reached.
virtual double GetTimeTo(const ITimeStamp &timeStamp) const
Get time difference to second timer.
virtual double GetTimerResolution() const
Return the timer resolution in seconds.
virtual void Start(double elapsedTime=0)
Start the timer.
virtual double GetElapsed() const
Return the time in seconds from start until this call.
virtual QDateTime GetStartTime() const
Get point in time of latest start.
double GetTimeTo(const CGeneralTimeStamp &timeStamp) const
Common interface for timer implementations.
© Witold Gantzke and Kirill Lepskiy