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 LazyLoadedCelestialBodies
getCelestialBodies()
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.DataProvidersManager
getDataProvidersManager()
Get the provider of auxiliary data for this data context.LazyLoadedFrames
getFrames()
Get a factory constructingFrame
s based on the auxiliary data in this context.LazyLoadedGeoMagneticFields
getGeoMagneticFields()
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.LazyLoadedGravityFields
getGravityFields()
Get a factory constructing gravity fields based on the auxiliary data in this context.LazyLoadedTimeScales
getTimeScales()
Get a factory for constructingTimeScale
s 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:DataContext
Get a factory for constructingTimeScale
s based on the auxiliary data in this context.- Specified by:
getTimeScales
in interfaceDataContext
- Returns:
- the set of common time scales using this data context.
-
getFrames
public LazyLoadedFrames getFrames()
Description copied from interface:DataContext
Get a factory constructingFrame
s based on the auxiliary data in this context.- Specified by:
getFrames
in interfaceDataContext
- Returns:
- the set of common reference frames using this data context.
-
getCelestialBodies
public LazyLoadedCelestialBodies getCelestialBodies()
Description copied from interface:DataContext
Get a factory constructingCelestialBody
s based on the auxiliary data in this context.- Specified by:
getCelestialBodies
in interfaceDataContext
- Returns:
- the set of common celestial bodies using this data context.
-
getGravityFields
public LazyLoadedGravityFields getGravityFields()
Description copied from interface:DataContext
Get a factory constructing gravity fields based on the auxiliary data in this context.- Specified by:
getGravityFields
in interfaceDataContext
- Returns:
- the gravity fields using this data context.
-
getGeoMagneticFields
public LazyLoadedGeoMagneticFields getGeoMagneticFields()
Description copied from interface:DataContext
Get a factory constructingGeoMagneticField
s based on the auxiliary data in this context.- Specified by:
getGeoMagneticFields
in interfaceDataContext
- Returns:
- the geomagnetic fields using this data context.
-
-