Public Member Functions | |
CEndTime ()=default | |
Class constructor with no time to expiry set. More... | |
CEndTime (unsigned int millisecondsIntoTheFuture) | |
Class constructor to set future time when timer has expired. More... | |
unsigned int | GetInitialTimeoutValue (void) const |
Get the initial timeout value this timer had. More... | |
uint64_t | GetStartTime (void) const |
Get the time this timer started. More... | |
bool | IsInfinite (void) const |
Check if the timer has been set to infinite expiry. More... | |
bool | IsTimePast () const |
Check if the expiry time has been reached. More... | |
unsigned int | MillisLeft () const |
The amount of time left till this timer expires. More... | |
void | Set (unsigned int millisecondsIntoTheFuture) |
Set the time in the future we cosider this timer as expired. More... | |
void | SetExpired () |
Consider this timer expired. More... | |
void | SetInfinite () |
Set this timer as never expiring. More... | |