Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Public Member Functions

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

The documentation for this class was generated from the following file: