Rtcm1044Data.java
/* Copyright 2002-2026 CS GROUP
* Licensed to CS GROUP (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.orekit.gnss.metric.messages.rtcm.ephemeris;
import org.orekit.gnss.metric.messages.common.AccuracyProvider;
import org.orekit.propagation.analytical.gnss.GNSSPropagator;
import org.orekit.propagation.analytical.gnss.data.QZSSLegacyNavigationMessage;
import org.orekit.propagation.analytical.gnss.data.QZSSLegacyNavigationMessageFactory;
/**
* Container for RTCM 1044 data.
* @author Bryan Cazabonne
* @since 11.0
*/
public class Rtcm1044Data extends RtcmEphemerisData {
/** Factory for QZSS navigation message.
* @since 14.0
*/
private final QZSSLegacyNavigationMessageFactory factory;
/** Constructor.
* @param satelliteId satellite ID
* @param accuracyProvider accuracy provider
* @param factory factory for QZSS navigation message
* @since 14.0
*/
public Rtcm1044Data(final int satelliteId, final AccuracyProvider accuracyProvider,
final QZSSLegacyNavigationMessageFactory factory) {
super(satelliteId);
this.factory = factory;
setAccuracyProvider(accuracyProvider);
}
/**
* Get the QZSS navigation message corresponding to the current RTCM data.
* <p>
* This object can be used to initialize a {@link GNSSPropagator}
* </p>
* @return the QZSS navigation message
*/
public QZSSLegacyNavigationMessage getQzssNavigationMessage() {
return factory.createFromDrivers();
}
}