class
cGonzagoTimerA class for measuring time inside Simulator modes.
This is the equivalent to the Clock class but in the Simulator.
Base classes
- class DefaultRefCounted
- The default implementation of a reference counted class.
Public types
-
using TimeFunction_t = LARGE_
INTEGER(*)()
Constructors, destructors, conversion operators
-
cGonzagoTimer(TimeFunction_
t pTimeFunction) - cGonzagoTimer()
- ~cGonzagoTimer() virtual
Public functions
- auto Stop() -> void
-
auto SetTime(LARGE_
INTEGER time) -> void - auto UpdateTime() -> void
- auto Start() -> void
- auto IsRunning() -> bool
- Tells whether the timer is currently running and, therefore, measuring time.
-
auto GetElapsed() -> LARGE_
INTEGER - Returns the elapsed time, in milliseconds.