T
- type of the ODM fileP
- type of the parserpublic abstract class OdmParser<T extends NdmConstituent<?,?>,P extends OdmParser<T,?>> extends AbstractConstituentParser<T,P>
Note than starting with Orekit 11.0, CCSDS message parsers are
mutable objects that gather the data being parsed, until the
message is complete and the parseMessage
method has returned. This implies that parsers
should not be used in a multi-thread context. The recommended
way to use parsers is to either dedicate one parser for each message
and drop it afterwards, or to use a single-thread loop.
Modifier | Constructor and Description |
---|---|
protected |
OdmParser(String root,
String formatVersionKey,
IERSConventions conventions,
boolean simpleEOP,
DataContext dataContext,
AbsoluteDate missionReferenceDate,
double mu,
ParsedUnitsBehavior parsedUnitsBehavior)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getMissionReferenceDate()
Get reference date for Mission Elapsed Time and Mission Relative Time time systems.
|
protected double |
getMuSet()
Get the gravitational coefficient set at construction.
|
double |
getSelectedMu()
Select the gravitational coefficient to use.
|
protected void |
setMuCreated(double muCreated)
Set the gravitational coefficient created from the knowledge of the central body.
|
protected void |
setMuParsed(double muParsed)
Set the gravitational coefficient parsed in the ODM File.
|
finalizeData, finalizeHeader, finalizeMetadata, getConventions, getDataContext, getHeader, getParsedUnitsBehavior, inData, inHeader, inMetadata, isSimpleEOP, prepareData, prepareHeader, prepareMetadata
anticipateNext, getCurrent, getFileFormat, getFormatVersionKey, getSpecialXmlElementsBuilders, parseMessage, process, reset, setEndTagSeen, setFallback, wasEndTagSeen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, reset
protected OdmParser(String root, String formatVersionKey, IERSConventions conventions, boolean simpleEOP, DataContext dataContext, AbsoluteDate missionReferenceDate, double mu, ParsedUnitsBehavior parsedUnitsBehavior)
root
- root element for XML filesformatVersionKey
- key for format versionconventions
- IERS ConventionssimpleEOP
- if true, tidal effects are ignored when interpolating EOPdataContext
- used to retrieve frames and time scalesmissionReferenceDate
- reference date for Mission Elapsed Time or Mission Relative Time time systemsmu
- gravitational coefficientparsedUnitsBehavior
- behavior to adopt for handling parsed unitspublic AbsoluteDate getMissionReferenceDate()
protected double getMuSet()
protected void setMuParsed(double muParsed)
muParsed
- the coefficient to be setprotected void setMuCreated(double muCreated)
muCreated
- the coefficient to be setpublic double getSelectedMu()
Copyright © 2002-2021 CS GROUP. All rights reserved.