|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Abstract interface for platform-specific time provider. More...
#include <ITimeProvider.h>
Public Member Functions | |
| virtual | ~ITimeProvider ()=default |
| virtual uint32_t | GetTicksMs () const =0 |
| Get current time in milliseconds. | |
| virtual void | DelayMs (uint32_t ms) const |
| Platform-specific delay (sleep) for the given number of milliseconds. | |
Abstract interface for platform-specific time provider.
Platforms implement this to provide millisecond-resolution timing. Implementations:
|
virtualdefault |
|
pure virtual |
Get current time in milliseconds.
|
inlinevirtual |
Platform-specific delay (sleep) for the given number of milliseconds.
Used for frame rate limiting. Default is a no-op (busy wait falls through). Implementations: