Package org.orekit.files.ilrs
Class CRDConfiguration
- java.lang.Object
-
- org.orekit.files.ilrs.CRDConfiguration
-
public class CRDConfiguration extends Object
Container for Consolidated laser ranging Data Format (CDR) configuration records.- Since:
- 10.3
- Author:
- Bryan Cazabonne, Rongwang Li
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CRDConfiguration.BaseConfiguration
Base class for configuration record.static class
CRDConfiguration.CalibrationTargetConfiguration
Container for calibration target configuration record.static class
CRDConfiguration.DetectorConfiguration
Container for detector configuration record.static class
CRDConfiguration.LaserConfiguration
Container for laser configuration record.static class
CRDConfiguration.MeteorologicalConfiguration
Container for meteorological configuration record.static class
CRDConfiguration.SoftwareConfiguration
Container for software configuration record.static class
CRDConfiguration.SystemConfiguration
Container for system configuration record.static class
CRDConfiguration.TimingSystemConfiguration
Container for timing system configuration record.static class
CRDConfiguration.TransponderConfiguration
Container for transponder configuration record.
-
Constructor Summary
Constructors Constructor Description CRDConfiguration()
Constructor.
-
Method Summary
-
-
-
Method Detail
-
getSystemRecord
public CRDConfiguration.SystemConfiguration getSystemRecord()
Get the system configuration record.- Returns:
- the system configuration record
-
getLastSystemRecord
public CRDConfiguration.SystemConfiguration getLastSystemRecord()
Get the system configuration record.- Returns:
- the system configuration record
-
getLaserRecord
public CRDConfiguration.LaserConfiguration getLaserRecord()
Get the laser configuration record.- Returns:
- the laser configuration record
-
getDetectorRecord
public CRDConfiguration.DetectorConfiguration getDetectorRecord()
Get the detector configuration record.- Returns:
- the detector configuration record
-
getTimingRecord
public CRDConfiguration.TimingSystemConfiguration getTimingRecord()
Get the timing system configuration record.- Returns:
- the timing system configuration record
-
getTransponderRecord
public CRDConfiguration.TransponderConfiguration getTransponderRecord()
Get the transponder configuration record.- Returns:
- the transponder configuration record
-
getSoftwareRecord
public CRDConfiguration.SoftwareConfiguration getSoftwareRecord()
Get the software configuration record.- Returns:
- the software configuration record
-
getMeteorologicalRecord
public CRDConfiguration.MeteorologicalConfiguration getMeteorologicalRecord()
Get the meteorological record.- Returns:
- the meteorological record
-
addConfigurationRecord
public void addConfigurationRecord(CRDConfiguration.BaseConfiguration config)
Add a configuration record, such as SystemConfiguation, LaserConfiguration, DetectorConfiguration, etc.- Parameters:
config
- the configuration record- Since:
- 12.0
-
getConfigurationRecordMap
public Map<String,CRDConfiguration.BaseConfiguration> getConfigurationRecordMap()
Get the configuration records map.- Returns:
- the configuration records map
- Since:
- 12.0
-
getConfigurationRecord
public CRDConfiguration.BaseConfiguration getConfigurationRecord(String configId)
Get configuration record corresponding to the configId.- Parameters:
configId
- the id of configuration- Returns:
- the configuration with configId, or null
- Since:
- 12.0
-
getSystemConfigurationIds
public Set<String> getSystemConfigurationIds()
Get a set of configuration ids.- Returns:
- an unmodifiable set of configuration ids
- Since:
- 12.0
-
getSystemConfigurationRecords
public List<CRDConfiguration.SystemConfiguration> getSystemConfigurationRecords()
Get a list of system configurations.- Returns:
- an unmodifiable list of system configurations
- Since:
- 12.0
-
getSystemRecord
public CRDConfiguration.SystemConfiguration getSystemRecord(String configId)
Get system configuration record. If configId is null, the default(first system configuration record) is returned.- Parameters:
configId
- system configuration id, it can be null.- Returns:
- the system configuration record
- Since:
- 12.0
-
getLaserRecord
public CRDConfiguration.LaserConfiguration getLaserRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get laser configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the laser configuration record related the the systemRecord
- Since:
- 12.0
-
getDetectorRecord
public CRDConfiguration.DetectorConfiguration getDetectorRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get detector configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the detector configuration record related the the systemRecord
- Since:
- 12.0
-
getTimingRecord
public CRDConfiguration.TimingSystemConfiguration getTimingRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get timing system configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the timing system configuration record related the the systemRecord
- Since:
- 12.0
-
getTransponderRecord
public CRDConfiguration.TransponderConfiguration getTransponderRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get transponder configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the transponder configuration record related the the systemRecord
- Since:
- 12.0
-
getSoftwareRecord
public CRDConfiguration.SoftwareConfiguration getSoftwareRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get software configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the software configuration record related the the systemRecord
- Since:
- 12.0
-
getMeteorologicalRecord
public CRDConfiguration.MeteorologicalConfiguration getMeteorologicalRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get meteorological configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the meteorological configuration record related the the systemRecord
- Since:
- 12.0
-
getCalibrationTargetRecord
public CRDConfiguration.CalibrationTargetConfiguration getCalibrationTargetRecord(CRDConfiguration.SystemConfiguration systemRecord)
Get calibration target configuration record related to the systemRecord.- Parameters:
systemRecord
- the system configuration- Returns:
- the calibration target configuration record related the the systemRecord
- Since:
- 12.0
-
getCalibrationTargetRecord
public CRDConfiguration.CalibrationTargetConfiguration getCalibrationTargetRecord()
Get the calibration target configuration record.- Returns:
- the calibration target configuration record
- Since:
- 12.0
-
-