Class AbstractNavigationMessageWriter<T extends AbstractNavigationMessage<T>>
- java.lang.Object
-
- org.orekit.files.rinex.navigation.writers.NavigationMessageWriter<T>
-
- org.orekit.files.rinex.navigation.writers.ephemeris.AbstractNavigationMessageWriter<T>
-
- Type Parameters:
T- type of the navigation messages this writer handles
- Direct Known Subclasses:
BeidouCivilianNavigationMessageWriter,BeidouLegacyNavigationMessageWriter,CivilianNavigationMessageWriter,GalileoNavigationMessageWriter,LegacyNavigationMessageWriter
public abstract class AbstractNavigationMessageWriter<T extends AbstractNavigationMessage<T>> extends NavigationMessageWriter<T>
Base writer for abstract navigation messages.- Since:
- 14.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AbstractNavigationMessageWriter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidwriteEphLine0(AbstractNavigationMessage<?> message, String identifier, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 0.protected voidwriteEphLine1(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 1.protected voidwriteEphLine2(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 2.protected voidwriteEphLine3(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 3.protected voidwriteEphLine4(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 4.protected abstract voidwriteEphLine5(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 5.protected abstract voidwriteEphLine6(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 6.protected abstract voidwriteEphLine7(T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write the EPH MESSAGE LINE - 7.protected abstract voidwriteField1Line1(T message, RinexNavigationWriter writer)Write field 1 in line 1.voidwriteMessage(String identifier, T message, RinexNavigationHeader header, RinexNavigationWriter writer)Write a navigation message.-
Methods inherited from class org.orekit.files.rinex.navigation.writers.NavigationMessageWriter
writeTypeSvMsg
-
-
-
-
Method Detail
-
writeMessage
public void writeMessage(String identifier, T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write a navigation message.- Specified by:
writeMessagein classNavigationMessageWriter<T extends AbstractNavigationMessage<T>>- Parameters:
identifier- identifiermessage- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine0
protected void writeEphLine0(AbstractNavigationMessage<?> message, String identifier, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 0.- Parameters:
message- navigation message to writeidentifier- identifierheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine1
protected void writeEphLine1(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 1.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeField1Line1
protected abstract void writeField1Line1(T message, RinexNavigationWriter writer) throws IOException
Write field 1 in line 1.- Parameters:
message- navigation message to writewriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine2
protected void writeEphLine2(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 2.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine3
protected void writeEphLine3(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 3.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine4
protected void writeEphLine4(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 4.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine5
protected abstract void writeEphLine5(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 5.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine6
protected abstract void writeEphLine6(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 6.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
writeEphLine7
protected abstract void writeEphLine7(T message, RinexNavigationHeader header, RinexNavigationWriter writer) throws IOException
Write the EPH MESSAGE LINE - 7.- Parameters:
message- navigation message to writeheader- file headerwriter- global file writer- Throws:
IOException- if an I/O error occurs.
-
-