Package org.orekit.files.ccsds.ndm
Class WriterBuilder
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.AbstractBuilder<WriterBuilder>
-
- org.orekit.files.ccsds.ndm.WriterBuilder
-
public class WriterBuilder extends AbstractBuilder<WriterBuilder>
Builder for allCCSDS Message
files writers.This builder can be used for building all CCSDS Messages writers types. It is particularly useful in multi-threaded context as writers cannot be shared between threads and thus several independent writers must be built in this case.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description WriterBuilder()
Simple constructor.WriterBuilder(DataContext dataContext)
Simple constructor.
-
Method Summary
-
Methods inherited from class org.orekit.files.ccsds.ndm.AbstractBuilder
getConventions, getDataContext, getEquatorialRadius, getFlattening, getMissionReferenceDate, getRangeUnitsConverter, withConventions, withDataContext, withEquatorialRadius, withFlattening, withMissionReferenceDate, withRangeUnitsConverter
-
-
-
-
Constructor Detail
-
WriterBuilder
@DefaultDataContext public WriterBuilder()
Simple constructor.This constructor creates a builder with
IERS conventions
set toIERSConventions.IERS_2010
central body equatorial radius
set toDouble.NaN
central body flattening
set toDouble.NaN
data context
set todefault context
mission reference date
set tonull
converter for range units
set toIdentityConverter
-
WriterBuilder
public WriterBuilder(DataContext dataContext)
Simple constructor.This constructor creates a builder with
IERS conventions
set toIERSConventions.IERS_2010
central body equatorial radius
set toDouble.NaN
central body flattening
set toDouble.NaN
mission reference date
set tonull
converter for range units
set toIdentityConverter
- Parameters:
dataContext
- data context used to retrieve frames, time scales, etc.
-
-
Method Detail
-
create
protected WriterBuilder create(IERSConventions newConventions, double newEquatorialRadius, double newFlattening, DataContext newDataContext, AbsoluteDate newMissionReferenceDate, RangeUnitsConverter newRangeUnitsConverter)
Build an instance.- Specified by:
create
in classAbstractBuilder<WriterBuilder>
- Parameters:
newConventions
- IERS ConventionsnewEquatorialRadius
- central body equatorial radiusnewFlattening
- central body flatteningnewDataContext
- used to retrieve frames, time scales, etc.newMissionReferenceDate
- reference date for Mission Elapsed Time or Mission Relative Time time systemsnewRangeUnitsConverter
- converter forRange Units
- Returns:
- new instance
-
buildNdmWriter
public NdmWriter buildNdmWriter()
Build a writer forNavigation Data Messages
.- Returns:
- a new writer
-
buildOpmWriter
public OpmWriter buildOpmWriter()
Build a writer forOrbit Parameters Messages
.- Returns:
- a new writer
-
buildOmmWriter
public OmmWriter buildOmmWriter()
Build a writer forOrbit Mean elements Messages
.- Returns:
- a new writer
-
buildOemWriter
public OemWriter buildOemWriter()
Build a writer forOrbit Ephemeris Messages
.- Returns:
- a new writer
-
buildOcmWriter
public OcmWriter buildOcmWriter()
Build a writer forOrbit Comprehensive Messages
.- Returns:
- a new writer
-
buildApmWriter
public ApmWriter buildApmWriter()
Build a writer forAttitude Parameters Messages
.- Returns:
- a new writer
-
buildAemWriter
public AemWriter buildAemWriter()
Build a writer forAttitude Ephemeris Messages
.- Returns:
- a new writer
-
buildAcmWriter
public AcmWriter buildAcmWriter()
Build a writer forAttitude Comprehensive Messages
.- Returns:
- a new writer
- Since:
- 12.0
-
buildTdmWriter
public TdmWriter buildTdmWriter()
Build a writer forTracking Data Messages
.- Returns:
- a new writer
-
buildCdmWriter
public CdmWriter buildCdmWriter()
Build a writer forConjunction Data Messages
.- Returns:
- a new writer
-
-