Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

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.

 

Public Method List


 

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.

 

 

Last edit by koldo on 09/23/2016. Do you want to contribute?. T++