Tanoda
NatSuite.Recorders.Clocks.RealtimeClock Class Reference

Realtime clock for generating timestamps More...

Inheritance diagram for NatSuite.Recorders.Clocks.RealtimeClock:
NatSuite.Recorders.Clocks.IClock

Public Member Functions

 RealtimeClock ()
 Create a realtime clock. More...
 

Properties

long timestamp [get]
 Current timestamp in nanoseconds. The very first value reported by this property will always be zero. More...
 
bool paused [get, set]
 Is the clock paused? More...
 
- Properties inherited from NatSuite.Recorders.Clocks.IClock
long timestamp [get]
 Current timestamp in nanoseconds. More...
 

Detailed Description

Realtime clock for generating timestamps

Definition at line 15 of file RealtimeClock.cs.

Constructor & Destructor Documentation

◆ RealtimeClock()

NatSuite.Recorders.Clocks.RealtimeClock.RealtimeClock ( )

Create a realtime clock.

Definition at line 49 of file RealtimeClock.cs.

Property Documentation

◆ paused

bool NatSuite.Recorders.Clocks.RealtimeClock.paused
getset

Is the clock paused?

Definition at line 38 of file RealtimeClock.cs.

◆ timestamp

long NatSuite.Recorders.Clocks.RealtimeClock.timestamp
get

Current timestamp in nanoseconds. The very first value reported by this property will always be zero.

Implements NatSuite.Recorders.Clocks.IClock.

Definition at line 23 of file RealtimeClock.cs.


The documentation for this class was generated from the following file: