Click or drag to resize

StateElementAdapter Class

The base class for all StateElementAdapters. StateElementAdapters extract one element from a state's data elements, optionally perform some operation on that element (like a reference frame transformation), and store that modified element into another ITimeBasedState.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.CoordinatesStateElementAdapter

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public abstract class StateElementAdapter : IEvaluator, 
	IAvailability, IThreadAware, ICloneWithContext, IDisposable

The StateElementAdapter type exposes the following members.

Constructors
  NameDescription
Protected methodStateElementAdapter(EvaluatorGroup, StateElementAdapterDefinition)
Initializes a new instance.
Protected methodStateElementAdapter(StateElementAdapter, CopyContext)
Initializes a new instance as a copy of an existing instance.
Top
Properties
  NameDescription
Public propertyElementIdentification
Gets the identification of the element to be adapted.
Public propertyGroup
Gets the group that contains this evaluator.
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
Top
Methods
  NameDescription
Public methodClone
Clones this object using the specified context.
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 methodGetAvailabilityIntervals
Gets the intervals over which data is available.
Public methodGetCachingWrapper
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAvailable
Determines if valid data is available for the given JulianDate.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodModifyElementInState
This method extracts the element matching the ElementIdentification in the oldState, optionally performs some transformation on that element, and then modifies the stateToModify with that new element.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleUpdateEvaluatorReferences
Updates the evaluator references held by this object using the reference-to-reference mapping in the specified CopyContext.
Top
See Also