Class RtcmMsmHeader
java.lang.Object
org.orekit.gnss.metric.messages.rtcm.msm.headers.RtcmMsmHeader
- Direct Known Subclasses:
RtcmMsmBeidouHeader,RtcmMsmGalileoHeader,RtcmMsmGlonassHeader,RtcmMsmGpsHeader,RtcmMsmQzssHeader,RtcmMsmSbasHeader
Base class for RTCM MSM message headers, holding common metadata and bit masks.
- Since:
- 14.0
- Author:
- Nathan Schiffmacher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert the cells mask to a list of satellite/signal pairs.abstract List<SatInSystem> Convert the satellites mask to a list of satellites.abstract List<RtcmMsmSignalId> Convert the signals mask to a list of signals.longGet the cells mask.intGet the Clock Steering Indicator.booleanGet the Divergence-free Smoothing Indicator.doubleGet the epoch time.intGet the External Clock Indicator.intGet the Issue of Data Station.booleanGet the MSM Multiple Message Flag (DF393).intGet the number of cells present in the mask.intGet the number of satellites present in the mask.intGet the number of signals present in the mask.Get the Reference Station ID.longGet the satellites mask.longGet the signals mask.intGet the Smoothing Interval.voidsetCellsMask(long cellsMask) Set the cells mask.voidsetClockSteeringIndicator(int clockSteeringIndicator) Set the Clock Steering Indicator.voidsetDivergenceFreeSmoothingIndicator(boolean divergenceFreeSmoothingIndicator) Set the Divergence-free Smoothing Indicator.voidsetEpochTime(double epochTime) Set the epoch time.voidsetExternalClockIndicator(int externalClockIndicator) Set the External Clock Indicator.voidsetIssueofDataStation(int issueofDataStation) Set the Issue of Data Station.voidsetMultipleMessageFlag(boolean multipleMessageFlag) Set the MSM Multiple Message Flag (DF393).voidsetReferenceStation(String referenceStation) Set the Reference Station ID.voidsetSatellitesMask(long satellitesMask) Set the satellites mask.voidsetSignalsMask(long signalsMask) Set the signals mask.voidsetSmoothingInterval(int smoothingInterval) Set the Smoothing Interval.
-
Constructor Details
-
RtcmMsmHeader
public RtcmMsmHeader()Constructor.
-
-
Method Details
-
getEpochTime
public double getEpochTime()Get the epoch time.- Returns:
- epoch time within the GNSS week, in seconds
-
setEpochTime
public void setEpochTime(double epochTime) Set the epoch time.- Parameters:
epochTime- epoch time within the GNSS week, in seconds
-
getReferenceStation
Get the Reference Station ID.- Returns:
- the Reference Station ID
-
setReferenceStation
Set the Reference Station ID.- Parameters:
referenceStation- the Reference Station ID to set
-
getMultipleMessageFlag
public boolean getMultipleMessageFlag()Get the MSM Multiple Message Flag (DF393).- Returns:
- true if more MSM messages follow for the epoch, false otherwise
-
setMultipleMessageFlag
public void setMultipleMessageFlag(boolean multipleMessageFlag) Set the MSM Multiple Message Flag (DF393).- Parameters:
multipleMessageFlag- true if more MSM messages follow for the epoch, false otherwise
-
getIssueofDataStation
public int getIssueofDataStation()Get the Issue of Data Station.- Returns:
- the Issue of Data Station
-
setIssueofDataStation
public void setIssueofDataStation(int issueofDataStation) Set the Issue of Data Station.- Parameters:
issueofDataStation- the Issue of Data Station to set
-
getClockSteeringIndicator
public int getClockSteeringIndicator()Get the Clock Steering Indicator.- Returns:
- the Clock Steering Indicator
-
setClockSteeringIndicator
public void setClockSteeringIndicator(int clockSteeringIndicator) Set the Clock Steering Indicator.- Parameters:
clockSteeringIndicator- the Clock Steering Indicator to set
-
getExternalClockIndicator
public int getExternalClockIndicator()Get the External Clock Indicator.- Returns:
- the External Clock Indicator
-
setExternalClockIndicator
public void setExternalClockIndicator(int externalClockIndicator) Set the External Clock Indicator.- Parameters:
externalClockIndicator- the External Clock Indicator to set
-
getDivergenceFreeSmoothingIndicator
public boolean getDivergenceFreeSmoothingIndicator()Get the Divergence-free Smoothing Indicator.- Returns:
- true if divergence-free smoothing is used, false otherwise
-
setDivergenceFreeSmoothingIndicator
public void setDivergenceFreeSmoothingIndicator(boolean divergenceFreeSmoothingIndicator) Set the Divergence-free Smoothing Indicator.- Parameters:
divergenceFreeSmoothingIndicator- the Divergence-free Smoothing Indicator to set
-
getSmoothingInterval
public int getSmoothingInterval()Get the Smoothing Interval.- Returns:
- the Smoothing Interval
-
setSmoothingInterval
public void setSmoothingInterval(int smoothingInterval) Set the Smoothing Interval.- Parameters:
smoothingInterval- the Smoothing Interval to set
-
getSatellitesMask
public long getSatellitesMask()Get the satellites mask.- Returns:
- bit mask indicating which satellites are present
-
setSatellitesMask
public void setSatellitesMask(long satellitesMask) Set the satellites mask.- Parameters:
satellitesMask- bit mask indicating which satellites are present
-
getNumberOfSatellites
public int getNumberOfSatellites()Get the number of satellites present in the mask.- Returns:
- number of satellites with their bit set in the mask
-
getSignalsMask
public long getSignalsMask()Get the signals mask.- Returns:
- bit mask indicating which signals are present
-
setSignalsMask
public void setSignalsMask(long signalsMask) Set the signals mask.- Parameters:
signalsMask- bit mask indicating which signals are present
-
getNumberOfSignals
public int getNumberOfSignals()Get the number of signals present in the mask.- Returns:
- number of signals with their bit set in the mask
-
getCellsMask
public long getCellsMask()Get the cells mask.- Returns:
- bit mask indicating which satellite/signal cells are present
-
setCellsMask
public void setCellsMask(long cellsMask) Set the cells mask.- Parameters:
cellsMask- bit mask indicating which satellite/signal cells are present
-
getNumberOfCells
public int getNumberOfCells()Get the number of cells present in the mask.- Returns:
- number of satellite/signal cells with their bit set in the mask
-
convertCellsMask
Convert the cells mask to a list of satellite/signal pairs.- Returns:
- list of satellite/signal pairs corresponding to the active cells
-
convertSatellitesMask
Convert the satellites mask to a list of satellites.- Returns:
- list of satellites present in the MSM message
-
convertSignalsMask
Convert the signals mask to a list of signals.- Returns:
- list of signals present in the MSM message
-