Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.TmrSeconds

Summary

A timer measuring the number of real-time seconds elapsed between the calls. See Remarks on Tmr<T>.

Constructors

Creates a new instance of TmrSeconds.

Instance methods

TmrSeconds Makes sure the timer is running without zeroing the time reading. If the reading is non-zero, it will continue growing. This method may be called while the timer is already running.
TmrSeconds Pauses the timer without zeroing it. This method may be called while the timer is already paused, but a single call to TmrSeconds.Continue() is always sufficient to resume the timer.
TmrSecondsResets the timer and makes sure it's running. The current state of the timer is irrelevant.
TmrSecondsMakes sure the timer is not running and zeroes it. The current state of the timer is irrelevant.
TmrSecondsResets the timer back to zero.

Instance properties

double
  • Inherited from Tmr<double>
Gets the current reading of the timer. This value increases between consecutive reads while the timer is running, and remains fixed while it's paused.
double
  • Inherited from Tmr<double>
Gets the reading the timer had just before the last call to any of the methods of this class related to zeroing, pausing and resuming the timer.