T
- Meteorologically based correction type (can be AngularCorrection
or TroposphericCorrection
for
instance)public abstract class AbstractMeteoBasedCorrectionFactory<T> extends Object
This class can initialize and store in cache meteorologically based correction models.
The correction models are organized within a ConcurrentHashMap
to ensure multi-thread safety.
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractMeteoBasedCorrectionFactory.MeteoBasedKey
Unique key description used to store data within a Map.
|
Constructor and Description |
---|
AbstractMeteoBasedCorrectionFactory()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
buildMeteoBasedCorrection(AbstractMeteoBasedCorrectionFactory.MeteoBasedKey key)
Return the meteorologically based correction model provided by the factory.
|
T |
getCorrectionModel(MeteorologicalConditionsProvider meteoConditionsProvider,
BodyPoint point)
Getter for a meteorologically based correction model.
|
public AbstractMeteoBasedCorrectionFactory()
public T getCorrectionModel(MeteorologicalConditionsProvider meteoConditionsProvider, BodyPoint point)
This method looks if the required model is already initialized.
If it's the case the model is directly returned, otherwise the model is initialized, stored and returned.
meteoConditionsProvider
- Provider for the meteorological conditionspoint
- Pointprotected abstract T buildMeteoBasedCorrection(AbstractMeteoBasedCorrectionFactory.MeteoBasedKey key)
key
- Key containing the required information to initialize the correction modelCopyright © 2023 CNES. All rights reserved.