SegmentListGetElementAdapter Method |
Returns the adapter for the given state
element. The
StateElementAdapters handle the various
transformations of the propagated elements between segments (for example, if
the integration
frame of a point being propagated changes
from one
segment to another, the
adapter is what handles that transformation between
segment). All elements propagated by this segment must have
an
adapter returned by this method (even if that
adapter
simply returns the original state).
If multiple segments are being propagated by this segment (as a
SegmentList would), this
must return the adapter of the
StateElementAdapter of the
element for the final
known
segment getting propagated.
Namespace:
AGI.Foundation.SegmentPropagation
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public override StateElementAdapterDefinition GetElementAdapter(
string element
)
Public Overrides Function GetElementAdapter (
element As String
) As StateElementAdapterDefinition
public:
virtual StateElementAdapterDefinition^ GetElementAdapter(
String^ element
) override
abstract GetElementAdapter :
element : string -> StateElementAdapterDefinition
override GetElementAdapter :
element : string -> StateElementAdapterDefinition
Parameters
- element
- Type: SystemString
The element whose StateElementAdapter is needed.
Return Value
Type:
StateElementAdapterDefinitionThe
adapter with the
element defined-in set, or
if there is no such factory.
Remarks In general, the concrete SegmentDefinition should have a list of the
adapter factory instances that are valid for
this segment, and then this method would get the element
definition object from this segments configuration.
See Also