1 #ifndef INetworkTimeProvider_h
2 #define INetworkTimeProvider_h
This is an abstract interface for an object that can provide us with network-clock-time values...
The zg namespace contains the public API of the ZG library.
virtual uint64 GetRunTime64ForNetworkTime64(uint64 networkTime64TimeStamp) const =0
Given a network-time-clock-value (i.e.
virtual int64 GetToNetworkTimeOffset() const =0
Returns the number of microseconds that should be added to a GetRunTime64() value to turn it into a G...
virtual uint64 GetNetworkTime64() const =0
Returns the current time according to the network-time-clock, in microseconds.
virtual uint64 GetNetworkTime64ForRunTime64(uint64 runTime64TimeStamp) const =0
Given a local-time-clock-value (i.e.