Functions4U Reference. RealTimeStop
|
|
class RealTimeStop
RealTimeStop class is a timer class that can be paused and set back.
In addition it monitors itself so in case that the main program is paused by other process or because the computer is suspended during minutes or hours, it readjust itself to manage just running time and not clock time.
void Start()
Starts the timer.
void Pause(bool pause)
If pause is true it pauses the timer and if it is false it continues it.
void Pause()
Pauses the timer
void Continue()
Continues the timer
double Seconds()
Returs the numer of elapsed seconds
void SetBack(double secs)
Sets back the timer secs seconds.
bool IsPaused()
Returns true if it is paused.
|