| Description | Hierarchy | Fields | Methods | Properties |
type TDeviceTimer = class(TReferenceCounted)
Interface for getting and manipulating the device's virtual time.
![]() |
function IsStopped: Boolean; inline; |
![]() |
procedure Start; inline; |
![]() |
procedure Stop; inline; |
![]() |
procedure Tick; inline; |
![]() |
property RealTime: LongWord read GetRealTime; |
![]() |
property Speed: Single read GetSpeed write SetSpeed; |
![]() |
property Time: LongWord read GetTime write SetTime; |
![]() |
function IsStopped: Boolean; inline; |
|
Returns if the virtual timer is currently stopped. | |
![]() |
procedure Start; inline; |
|
Starts the virtual timer. | |
![]() |
procedure Stop; inline; |
|
Stops the virtual timer. | |
![]() |
procedure Tick; inline; |
|
Advances the virtual time. | |
![]() |
property RealTime: LongWord read GetRealTime; |
|
The current real time in milliseconds of the system. | |
![]() |
property Speed: Single read GetSpeed write SetSpeed; |
|
Returns current | |
![]() |
property Time: LongWord read GetTime write SetTime; |
|
The current virtual | |