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 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

      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 constructing TimeScales based on the auxiliary data in this context.
      Specified by:
      getTimeScales in interface DataContext
      Returns:
      the set of common time scales using this data context.
    • getFrames

      public LazyLoadedFrames getFrames()
      Description copied from interface: DataContext
      Get a factory constructing Frames based on the auxiliary data in this context.
      Specified by:
      getFrames in interface DataContext
      Returns:
      the set of common reference frames using this data context.
    • getCelestialBodies

      public LazyLoadedCelestialBodies getCelestialBodies()
      Description copied from interface: DataContext
      Get a factory constructing CelestialBodys based on the auxiliary data in this context.
      Specified by:
      getCelestialBodies in interface DataContext
      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 interface DataContext
      Returns:
      the gravity fields using this data context.
    • getGeoMagneticFields

      public LazyLoadedGeoMagneticFields getGeoMagneticFields()
      Description copied from interface: DataContext
      Get a factory constructing GeoMagneticFields based on the auxiliary data in this context.
      Specified by:
      getGeoMagneticFields in interface DataContext
      Returns:
      the geomagnetic fields using this data context.