sisi4s
|
#include <Timer.hpp>
Public Member Functions | |
Timer (Time *time) | |
Constructor of a Timer object starting the measurement. \parameter seconds specifies where the measured time shall be written to upon destruction of the object marking the end of the measurement. | |
~Timer () | |
Protected Attributes | |
Time * | time |
Time | start |
Timer class providing timing functionality. The object can be created in a scope whose lifetime is then measured.
Timer::Timer | ( | Time * | time | ) |
Constructor of a Timer object starting the measurement. \parameter seconds specifies where the measured time shall be written to upon destruction of the object marking the end of the measurement.
Timer::~Timer | ( | ) |
Destroys the timer object concluding the time measurement and adding the elapsed time to the double specified upon construction of the timer object.
|
protected |
|
protected |