Package com.luciad.format.aixm51.model
Interface ILcdAIXM51TimeSliceProvider
- All Known Implementing Classes:
TLcdAIXM51SnapshotTimeSliceProvider
,TLcdAIXM51TimeSliceProvider
public interface ILcdAIXM51TimeSliceProvider
A time slice provider implements a strategy for deriving a time slice from a given AIXM 5.1
feature that can be assumed to describe the state of the feature that is most relevant for the
application.
The two most notable examples of time slice providers are the snapshot time slice provider that
computes a snapshot for a time instant set by the application, or a time slice provider that
returns the most recent baseline time slice.
Except for these conceptual differences, an application can also change the implementation of a
time slice provider to achieve performance or memory optimizations.
- Since:
- 10.1
-
Method Summary
Modifier and TypeMethodDescription<T extends TLcdAIXM51AbstractAIXMTimeSlice>
TgetTimeSlice
(TLcdAIXM51Feature<T> aFeature) Returns a time slice that is selected or computed by this provider from the time slices of the given feature.
-
Method Details
-
getTimeSlice
Returns a time slice that is selected or computed by this provider from the time slices of the given feature. This time slice can be one of the original time slices of the feature, for instance a baseline time slice, or a computed time slice such as a snapshot that is computed for a specific date. The returned time slice can change between consecutive calls.- Parameters:
aFeature
- the feature for which a time slice needs to be returned- Returns:
- A valid time slice, can only be null in case the feature does not contain time slices.
-