Time up counter (Chronometer) More...
Time up counter (Chronometer)
Public Member Methods | |
UpTimer (bool started=false) | |
Constructor. More... | |
void | Resume () |
Resumes the counter. More... | |
void | Suspend () |
Suspends the counter. More... | |
bool | IsResumed () const |
Query if the time has been resumed. More... | |
void | Clear () |
Clears the counter and stops it. More... | |
TimeSpan | GetTime () const |
Gets the counter time. More... | |
UpTimer | ( | bool | started = false | ) |
Constructor.
started | (optional) set started. Default = false. |
void Clear | ( | ) |
Clears the counter and stops it.
TimeSpan GetTime | ( | ) | const |
Gets the counter time.
bool IsResumed | ( | ) | const |
Query if the time has been resumed.
void Resume | ( | ) |
Resumes the counter.
void Suspend | ( | ) |
Suspends the counter.