Interface IReplayStream
A IReplayStream allows iterating over an underlying Replay implementation in a well-defined manner.
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
public interface IReplayStream : IEnumerator<VehicleSensorState>
Properties
CurrentDistance
Gets the total traveled distance in the replay stream.
Note that this value does not necessarily start at zero, if the TimeInterval is configured to start at a non-zero time.
Declaration
double CurrentDistance { get; }
Property Value
| Type | Description |
|---|---|
| double |
CurrentMicroseconds
Gets the total elapsed microseconds in the replay stream.
Note that this value does not necessarily start at zero, if the TimeInterval is configured to start at a non-zero time.
Declaration
long CurrentMicroseconds { get; }
Property Value
| Type | Description |
|---|---|
| long |
Methods
Seek(TimeSpan)
Seeks along the replay stream by the specified amount of time.
Declaration
TimeSpan Seek(TimeSpan delta)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | delta | The amount of time to seek forwards or backwards in the stream. |
Returns
| Type | Description |
|---|---|
| TimeSpan | The actual time delta in the stream to the previous time. |