Class ReplayStream
Base implementation for IReplayStream taking care of some boilerplate.
Implements
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public abstract class ReplayStream : IReplayStream
Properties
Current
Declaration
public abstract VehicleSensorState Current { get; }
Property Value
Type | Description |
---|---|
VehicleSensorState |
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
public abstract 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
public abstract long CurrentMicroseconds { get; }
Property Value
Type | Description |
---|---|
long |
Methods
Dispose()
Declaration
public virtual void Dispose()
MoveNext()
Declaration
public abstract bool MoveNext()
Returns
Type | Description |
---|---|
bool |
Reset()
Declaration
public abstract void Reset()
Seek(TimeSpan)
Seeks along the replay stream by the specified amount of time.
Declaration
public abstract 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. |