Class TripsTrajectoryWrapper
This wrapper class provides the storage of trajectory data for entity object, implementing
. Each position at a specific time-point is stored in custom sequence
that can be interpreted in . This format is much more efficient than filtering
each individual output tick, because all other data is not part of serialization.
Inheritance
IDisposable
AbstractWrapper<TripsOptions>
AbstractFileWrapper<TripsOptions>
TripsTrajectoryWrapper
Inherited Members
Namespace: Mars.Core.Data.Wrapper.Memory
Assembly: Mars.Core.dll
Syntax
public class TripsTrajectoryWrapper : AbstractFileWrapper<TripsOptions>, IWrapper, IDisposable
Remarks
Use in order to specify additional attribute which are part
to distinct multiple trajectories.
Constructors
TripsTrajectoryWrapper(IConfigLoader, ISerializerManager, TripsOptions)
Declaration
public TripsTrajectoryWrapper(IConfigLoader config, ISerializerManager serializer, TripsOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
IConfigLoader | config | |
ISerializerManager | serializer | |
TripsOptions | options |
Methods
SaveSnapshot(Int64, IGeneratedTypeLogger)
Declaration
public override void SaveSnapshot(long currentTick, IGeneratedTypeLogger typeLogger)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | currentTick | |
IGeneratedTypeLogger | typeLogger |
Overrides
TearDown()
Declaration
public override void TearDown()
Overrides
Implements
IDisposable