CachingMotionEvaluatorT Class |
Namespace: AGI.Foundation.Infrastructure
public sealed class CachingMotionEvaluator<T> : MotionEvaluator<T>, ICachingEvaluator, IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable
The CachingMotionEvaluatorT type exposes the following members.
Name | Description | |
---|---|---|
CachingMotionEvaluatorT |
Initializes a new instance.
|
Name | Description | |
---|---|---|
AvailabilityIntervals |
Gets a TimeIntervalCollection over which data is available.
If the availability interval is infinite, this returns
Infinite.
(Inherited from MotionEvaluatorT.) | |
Group |
Gets the group that contains this evaluator.
(Inherited from MotionEvaluatorT.) | |
IsThreadSafe |
Gets a value indicating whether the methods on this instance are safe to call from
multiple threads simultaneously.
(Overrides FunctionTIndependent, TDependentIsThreadSafe.) | |
IsTimeVarying |
Gets a value indicating whether or not the value of this evaluator changes with time. If
, the evaluator is assumed to return the same value for any
input JulianDate.
(Overrides MotionEvaluatorTIsTimeVarying.) |
Name | Description | |
---|---|---|
ClearCache |
Clears any values cached by this evaluator.
| |
Clone |
Clones this object using the specified context.
(Overrides FunctionTIndependent, TDependentClone(CopyContext).) | |
Dispose |
Releases any resources associated with this instance.
(Inherited from FunctionTIndependent, TDependent.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate(JulianDate) |
Evaluates the function.
(Overrides MotionEvaluatorTEvaluate(JulianDate).) | |
Evaluate(JulianDate, Int32) |
Evaluates the function, first checking for a cached result corresponding to date
and order.
(Overrides MotionEvaluatorTEvaluate(JulianDate, Int32).) | |
Evaluate(TimeInterval, Duration, Int32) |
Evaluates this evaluator at a specified fixed step over the specified interval.
(Inherited from MotionEvaluatorT.) | |
Evaluate(JulianDate, JulianDate, Duration, Int32) |
Evaluates this evaluator at a specified fixed step over the specified interval.
(Inherited from MotionEvaluatorT.) | |
Evaluate(TimeInterval, Duration, Int32, ITrackCalculationProgress) |
Evaluates this evaluator at a specified fixed step over the specified interval.
(Inherited from MotionEvaluatorT.) | |
Evaluate(JulianDate, JulianDate, Duration, Int32, ITrackCalculationProgress) |
Evaluates this evaluator at a specified fixed step over the specified interval.
(Inherited from MotionEvaluatorT.) | |
GetAvailabilityIntervals |
Gets the intervals over which data is available.
(Overrides MotionEvaluatorTGetAvailabilityIntervals(TimeIntervalCollection).) | |
GetCachingWrapper |
Gets a version of this evaluator that caches the previously computed value so that if it is evaluated
twice at the same date the computation is done only once.
(Overrides MotionEvaluatorTGetCachingWrapper.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNextSampleSuggestion |
Gets a suggestion for the next JulianDate value at which to sample this function.
(Overrides FunctionTIndependent, TDependentGetNextSampleSuggestion(TIndependent).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAvailable |
Determines if valid data is available for the given JulianDate.
(Overrides MotionEvaluatorTIsAvailable(JulianDate).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateEvaluatorReferences |
Updates the evaluator references held by this object using the reference-to-reference
mapping in the specified CopyContext.
(Overrides MotionEvaluatorTUpdateEvaluatorReferences(CopyContext).) |