Click or drag to resize

HistoryGeneratorTEntity Class

Maintains position information for visualizing track history.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TrackingHistoryGeneratorTEntity

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public class HistoryGenerator<TEntity> : IDisposable
where TEntity : class, IEntityIdentifier, IEntityPosition, IEntityLastUpdate

Type Parameters

TEntity
The type of entity.

The HistoryGeneratorTEntity type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEntities
Gets the entities for which history is being maintained.
Public propertyHistoryLength
Gets or sets the length of history to keep in memory for each track.
Public propertyLastUpdate
Gets the number of ticks returned by GetTimestamp at the time of the last history update.
Top
Methods
  NameDescription
Public methodDispose
Releases any resources associated with this instance.
Protected methodDispose(Boolean)
Releases any resources associated with this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHistory
Gets the EntityHistory for the provided entity, or if no history is found.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
In most cases, it is much more efficient to create a single instance of HistoryGenerator with an EntitySetTEntity containing all entities being visualized, rather than creating a unique instance for each EntityVisualizerTEntity that requires it. The amount of history kept is specified by HistoryLength subtracted from the value of the current SceneManagerTime.
See Also