1   /* Copyright 2022-2026 Thales Alenia Space
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  package org.orekit.gnss.metric.messages.rtcm.msm;
19  
20  import org.orekit.gnss.metric.messages.rtcm.RtcmData;
21  
22  /**
23   * Container for RTCM MSM cell data, grouping satellite and signal information.
24   * @author Nathan Schiffmacher
25   * @since 14.0
26   */
27  public class RtcmMsmCellData extends RtcmData {
28  
29      /** Satellite-related MSM data. */
30      private final RtcmMsmSatelliteData satelliteData;
31  
32      /** Signal-related MSM data. */
33      private final RtcmMsmSignalData signalData;
34  
35      /**
36       * Simple constructor.
37       * @param satelliteData satellite-related MSM data
38       * @param signalData signal-related MSM data
39       */
40      public RtcmMsmCellData(final RtcmMsmSatelliteData satelliteData, final RtcmMsmSignalData signalData) {
41          this.satelliteData = satelliteData;
42          this.signalData = signalData;
43      }
44  
45      /**
46       * Get satellite-related MSM data.
47       * @return satellite data for this cell
48       */
49      public RtcmMsmSatelliteData getSatelliteData() {
50          return this.satelliteData;
51      }
52  
53      /**
54       * Get signal-related MSM data.
55       * @return signal data for this cell
56       */
57      public RtcmMsmSignalData getSignalData() {
58          return this.signalData;
59      }
60  }