Enum RtcmMessageType

  • All Implemented Interfaces:
    Serializable, Comparable<RtcmMessageType>, MessageType

    public enum RtcmMessageType
    extends Enum<RtcmMessageType>
    implements MessageType
    Enum containing the supported RTCM messages types.
    Since:
    11.0
    Author:
    Luc Maisonobe, Bryan Cazabonne
    See Also:
    "RTCM STANDARD 10403.3, DIFFERENTIAL GNSS (GLOBAL NAVIGATION SATELLITE SYSTEMS) SERVICES – VERSION 3, October 2016."
    • Enum Constant Detail

      • RTCM_1019

        public static final RtcmMessageType RTCM_1019
        GPS Ephemeris message.
      • RTCM_1020

        public static final RtcmMessageType RTCM_1020
        GLONASS Ephemeris message.
      • RTCM_1042

        public static final RtcmMessageType RTCM_1042
        Beidou Ephemeris message.
      • RTCM_1044

        public static final RtcmMessageType RTCM_1044
        QZSS Ephemeris message.
      • RTCM_1045

        public static final RtcmMessageType RTCM_1045
        Galileo F/NAV Ephemeris message.
    • Method Detail

      • values

        public static RtcmMessageType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RtcmMessageType c : RtcmMessageType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RtcmMessageType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getPattern

        public Pattern getPattern()
        Get the message number.
        Returns:
        message number
      • getMessageType

        public static RtcmMessageType getMessageType​(String rtcmNumber)
        Get the message type corresponding to a message number.
        Parameters:
        rtcmNumber - message number
        Returns:
        the message type corresponding to the message number