public class TdmWriter extends AbstractMessageWriter<Header,Segment<TdmMetadata,ObservationsBlock>,Tdm>
Modifier and Type | Field and Description |
---|---|
static double |
CCSDS_TDM_VERS
Version number implemented.
|
static int |
KVN_PADDING_WIDTH
Padding width for aligning the '=' sign.
|
DEFAULT_ORIGINATOR
Constructor and Description |
---|
TdmWriter(IERSConventions conventions,
DataContext dataContext,
RangeUnitsConverter converter)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
writeSegmentContent(Generator generator,
double formatVersion,
Segment<TdmMetadata,ObservationsBlock> segment)
Write one segment content (without XML wrapping).
|
getContext, getDefaultVersion, getTimeConverter, setContext, writeFooter, writeHeader, writeSegment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeMessage
public static final double CCSDS_TDM_VERS
public static final int KVN_PADDING_WIDTH
public TdmWriter(IERSConventions conventions, DataContext dataContext, RangeUnitsConverter converter)
Calling this constructor directly is not recommended. Users should rather use
writerBuilder.buildTdmWriter()
.
conventions
- IERS ConventionsdataContext
- used to retrieve frames, time scales, etc.converter
- converter for Range Units
(may be null if there
are no range observations in Range Units
)public void writeSegmentContent(Generator generator, double formatVersion, Segment<TdmMetadata,ObservationsBlock> segment) throws IOException
writeSegmentContent
in class AbstractMessageWriter<Header,Segment<TdmMetadata,ObservationsBlock>,Tdm>
generator
- generator to use for producing outputformatVersion
- format version to usesegment
- segment to writeIOException
- if any buffer writing operations failsCopyright © 2002-2022 CS GROUP. All rights reserved.