Package org.orekit.data
Class LazyLoadedDataContext
java.lang.Object
org.orekit.data.LazyLoadedDataContext
- All Implemented Interfaces:
DataContext
- Direct Known Subclasses:
ExceptionalDataContext
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
ConstructorsConstructorDescriptionCreate 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
Modifier and TypeMethodDescriptionGet a factory constructingCelestialBodys based on the auxiliary data in this context.Get the provider of auxiliary data for this data context.Get a factory constructingFrames based on the auxiliary data in this context.Get a factory constructingGeoMagneticFields based on the auxiliary data in this context.Get a factory constructing gravity fields based on the auxiliary data in this context.Get a factory for constructingTimeScales based on the auxiliary data in this context.
-
Constructor Details
-
LazyLoadedDataContext
public 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 Details
-
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
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
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
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
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
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.
-