The timer class represents a high resolution system timer.
Timer objects may be created and started then queried for the current time value in seconds.
This is useful for animations because motion can be based upon a high resolution real 't' value instead of being linked to the speed of the machine.
Default constructor.
Sets the time value to zero.
Creates a timer object with the time value initially set to time.
Copy constructor.
Destructor.
Sets the timer time value to time.
The time value may be set whether the timer is running or not.
Starts the timer.
When the timer is initially created it is not running.
Use this function to start the timer when you are ready to begin using it.
Stops the timer.
Gets the current time value of the timer in seconds.
While the timer is running the time value increases as time passes.
When the timer is stopped the time value is constant.
Gets the amount of time that has passed since the last call to delta in seconds.
While the timer is running the delta value is typically a small value limited to the resolution of the timer.
When the timer is stopped the delta value is always zero.
Gets the limiting resolution of the timer in seconds.
The timer resolution is the smallest increment of time which the system timer can handle.
Assignment operator.
Equality operator.
Inequality operator.