Package org.orekit.data
Class LazyLoadedDataContext
- java.lang.Object
-
- org.orekit.data.LazyLoadedDataContext
-
- All Implemented Interfaces:
DataContext
- Direct Known Subclasses:
ExceptionalDataContext
public class LazyLoadedDataContext extends Object implements DataContext
A data context that aims to match the behavior of Orekit 10.0 regarding auxiliary data. This data context only loads auxiliary data when it is first accessed. It allows data loaders to be added before the data is loaded.- Since:
- 10.1
- Author:
- Evan Ward
-
-
Constructor Summary
Constructors Constructor Description LazyLoadedDataContext()Create a new data context that only loads auxiliary data when it is first accessed and allows configuration of the auxiliary data sources until then.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyLoadedCelestialBodiesgetCelestialBodies()Get a factory constructingCelestialBodys based on the auxiliary data in this context.DataProvidersManagergetDataProvidersManager()Get the provider of auxiliary data for this data context.LazyLoadedFramesgetFrames()Get a factory constructingFrames based on the auxiliary data in this context.LazyLoadedGeoMagneticFieldsgetGeoMagneticFields()Get a factory constructingGeoMagneticFields based on the auxiliary data in this context.LazyLoadedGravityFieldsgetGravityFields()Get a factory constructing gravity fields based on the auxiliary data in this context.LazyLoadedTimeScalesgetTimeScales()Get a factory for constructingTimeScales based on the auxiliary data in this context.
-
-
-
Method Detail
-
getDataProvidersManager
public DataProvidersManager getDataProvidersManager()
Get the provider of auxiliary data for this data context.- Returns:
- the provider that supplies auxiliary data to all of the other methods of this data context.
-
getTimeScales
public LazyLoadedTimeScales getTimeScales()
Description copied from interface:DataContextGet a factory for constructingTimeScales based on the auxiliary data in this context.- Specified by:
getTimeScalesin interfaceDataContext- Returns:
- the set of common time scales using this data context.
-
getFrames
public LazyLoadedFrames getFrames()
Description copied from interface:DataContextGet a factory constructingFrames based on the auxiliary data in this context.- Specified by:
getFramesin interfaceDataContext- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
public LazyLoadedCelestialBodies getCelestialBodies()
Description copied from interface:DataContextGet a factory constructingCelestialBodys based on the auxiliary data in this context.- Specified by:
getCelestialBodiesin interfaceDataContext- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
public LazyLoadedGravityFields getGravityFields()
Description copied from interface:DataContextGet a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFieldsin interfaceDataContext- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
public LazyLoadedGeoMagneticFields getGeoMagneticFields()
Description copied from interface:DataContextGet a factory constructingGeoMagneticFields based on the auxiliary data in this context.- Specified by:
getGeoMagneticFieldsin interfaceDataContext- Returns:
- the geomagnetic fields using this data context.
-
-