|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <SystemClock.h>
Public Member Functions | |
| EndTime () | |
| EndTime (unsigned int millisecondsIntoTheFuture) | |
| EndTime (const EndTime &right)=delete | |
| ~EndTime ()=default | |
| void | Set (unsigned int millisecondsIntoTheFuture) |
| bool | IsTimePast () const |
| unsigned int | MillisLeft () const |
| void | SetExpired () |
| void | SetInfinite () |
| bool | IsInfinite () const |
| unsigned int | GetInitialTimeoutValue () const |
| unsigned int | GetStartTime () const |
DO NOT compare the results from SystemClockMillis() to an expected end time that was calculated by adding a number of milliseconds to some start time. The reason is because the SystemClockMillis could wrap. Instead use this class which uses differences (which are safe across a wrap).
| XbmcThreads::EndTime::EndTime | ( | ) |
|
explicit |
|
delete |
|
default |
| unsigned int XbmcThreads::EndTime::GetInitialTimeoutValue | ( | ) | const |
| unsigned int XbmcThreads::EndTime::GetStartTime | ( | ) | const |
|
inline |
| bool XbmcThreads::EndTime::IsTimePast | ( | ) | const |
|
inline |
|
inline |