Class AdmParser<T extends NdmConstituent<AdmHeader,​?>,​P extends AbstractConstituentParser<AdmHeader,​T,​?>>

  • Type Parameters:
    T - type of the file
    P - type of the parser
    All Implemented Interfaces:
    MessageParser<T>
    Direct Known Subclasses:
    AcmParser, AemParser, ApmParser

    public abstract class AdmParser<T extends NdmConstituent<AdmHeader,​?>,​P extends AbstractConstituentParser<AdmHeader,​T,​?>>
    extends AbstractConstituentParser<AdmHeader,​T,​P>
    Base class for Attitude Data Message parsers.

    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.

    Since:
    11.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • AdmParser

        protected AdmParser​(String root,
                            String formatVersionKey,
                            IERSConventions conventions,
                            boolean simpleEOP,
                            DataContext dataContext,
                            AbsoluteDate missionReferenceDate,
                            ParsedUnitsBehavior parsedUnitsBehavior,
                            Function<ParseToken,​List<ParseToken>>[] filters)
        Complete constructor.
        Parameters:
        root - root element for XML files
        formatVersionKey - key for format version
        conventions - IERS Conventions
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        dataContext - used to retrieve frames, time scales, etc.
        missionReferenceDate - reference date for Mission Elapsed Time or Mission Relative Time time systems (may be null if time system is absolute)
        parsedUnitsBehavior - behavior to adopt for handling parsed units
        filters - filters to apply to parse tokens
        Since:
        12.0